MediaWiki
REL1_22
|
Some functions that are useful during startup. More...
Static Public Member Functions | |
static | callStaticMethod ($className, $methodName, $args) |
Deprecated wrapper for call_user_func_array() | |
static | classExists ($class) |
Deprecated wrapper for class_exists() | |
static | compiledPath ($file) |
static | extCompiledPath ($file) |
static | functionExists ($function) |
Deprecated wrapper for function_exists() | |
static | getCompilerVersion () |
static | interpretedPath ($file) |
Get a fully-qualified path for a source file relative to $IP. | |
static | isHipHop () |
Returns true if we are running under HipHop, whether in compiled or interpreted mode. | |
static | methodExists ($class, $method) |
Deprecated wrapper for method_exists() | |
Static Public Attributes | |
static | $compilerVersion |
Some functions that are useful during startup.
This class previously contained some functionality related to a PHP compiler called hphpc. That compiler has now been discontinued. All methods are now deprecated.
static MWInit::callStaticMethod | ( | $ | className, |
$ | methodName, | ||
$ | args | ||
) | [static] |
Deprecated wrapper for call_user_func_array()
$className | string |
$methodName | string |
$args | array |
Definition at line 133 of file Init.php.
References array().
static MWInit::classExists | ( | $ | class | ) | [static] |
static MWInit::compiledPath | ( | $ | file | ) | [static] |
$file | string |
static MWInit::extCompiledPath | ( | $ | file | ) | [static] |
static MWInit::functionExists | ( | $ | function | ) | [static] |
Deprecated wrapper for function_exists()
$function | string |
static MWInit::getCompilerVersion | ( | ) | [static] |
static MWInit::interpretedPath | ( | $ | file | ) | [static] |
Get a fully-qualified path for a source file relative to $IP.
$file | string |
static MWInit::isHipHop | ( | ) | [static] |
Returns true if we are running under HipHop, whether in compiled or interpreted mode.
static MWInit::methodExists | ( | $ | class, |
$ | method | ||
) | [static] |
Deprecated wrapper for method_exists()
$class | string |
$method | string |