MediaWiki  REL1_22
MWInit Class Reference

Some functions that are useful during startup. More...

List of all members.

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

Detailed Description

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.

Definition at line 33 of file Init.php.


Member Function Documentation

static MWInit::callStaticMethod ( className,
methodName,
args 
) [static]

Deprecated wrapper for call_user_func_array()

Deprecated:
since 1.22
Parameters:
$classNamestring
$methodNamestring
$argsarray
Returns:
mixed

Definition at line 133 of file Init.php.

References array().

static MWInit::classExists ( class) [static]

Deprecated wrapper for class_exists()

Deprecated:
since 1.22
Parameters:
$classstring
Returns:
bool

Definition at line 94 of file Init.php.

static MWInit::compiledPath ( file) [static]
Deprecated:
since 1.22
Parameters:
$filestring
Returns:
string

Definition at line 72 of file Init.php.

References $IP, and global.

static MWInit::extCompiledPath ( file) [static]
Deprecated:
since 1.22
Parameters:
$filestring
Returns:
string

Definition at line 82 of file Init.php.

static MWInit::functionExists ( function) [static]

Deprecated wrapper for function_exists()

Deprecated:
since 1.22
Parameters:
$functionstring
Returns:
bool

Definition at line 119 of file Init.php.

static MWInit::getCompilerVersion ( ) [static]
Deprecated:
since 1.22

Definition at line 39 of file Init.php.

static MWInit::interpretedPath ( file) [static]

Get a fully-qualified path for a source file relative to $IP.

Deprecated:
since 1.22
Parameters:
$filestring
Returns:
string

Definition at line 62 of file Init.php.

References $IP, and global.

static MWInit::isHipHop ( ) [static]

Returns true if we are running under HipHop, whether in compiled or interpreted mode.

Deprecated:
since 1.22
Returns:
bool

Definition at line 50 of file Init.php.

static MWInit::methodExists ( class,
method 
) [static]

Deprecated wrapper for method_exists()

Deprecated:
since 1.22
Parameters:
$classstring
$methodstring
Returns:
bool

Definition at line 107 of file Init.php.


Member Data Documentation

MWInit::$compilerVersion [static]

Definition at line 34 of file Init.php.


The documentation for this class was generated from the following file: