Location: PHPKode > scripts > PAX > pax/core/interfaces/IEnvironment.intf.php
<?php


/**
 * Page DocBlock definition
 * @package org.zadara.marius.pax
 */

/**
 * General interface for the environment object 
 * 
 * @author Marius Zadara <hide@address.com>
 * @category Interfaces
 * @copyright (C) 2008-2009 Marius Zadara
 * @license Free for non-comercial use
 * @package org.zadara.marius.pax
 * @see IPAXObject
 * @since 5.0 
 */
interface IEnvironment extends IPAXObject 
{
	/**
	 * Method to check if an PHP extension is loaded.
	 *
	 * @access public 
	 * @static 
	 * @param string </b>$extension</b> The extension name
	 * @return boolean True/False as the extension is loaded or not
	 */
    public static function isExtensionLoaded($extension);

	
	/**
	 * Method to load an extension.
	 *
	 * @access public
	 * @static 
	 * @param string <b>$extension</b> The extension name
	 * @return boolean True/False as the extensions has been loaded or not
	 */
	public static function loadExtension($extension);

	
	/**
	 * Method to check the version of the PHP.
	 * 
	 * @access public
	 * @static 
	 * @param string <b>$version</b> The minimal required PHP version
	 * @return boolean 
	 */
	public static function isMinimalPHP($version);	
}

?>
Return current item: PAX