Extends the ReflectionExtension class to provide type information using PHPDoc annotations.
Source for this file: /Reflection/src/extension.php
ReflectionExtension | --ezcReflectionExtension
Version: | //autogen// |
protected ReflectionExtension |
$reflectionSource
= null
|
From ReflectionExtension (Internal Class) | |
---|---|
public |
$name
|
public static mixed |
export(
$extension
, [ $return
= false] )
Exports a reflection object. |
public ezcReflectionExtension |
__construct(
$extension
)
Constructs a ezcReflectionExtension object from a given extension |
public ezcReflectionClass[] |
getClasses(
)
Returns an array containing ezcReflectionClass objects for all |
public string[] |
getClassNames(
)
Returns an array containing all names of all classes of this extension |
public array |
getConstants(
)
Returns an associative array containing this extension's constants and |
public string[] |
getDependencies(
)
Returns an array containing all names of all extensions this extension |
public ezcReflectionFunction[] |
getFunctions(
)
Returns an array of this extension's fuctions |
public array |
getINIEntries(
)
Returns an associative array containing this extension's INI entries and |
public string |
getName(
)
Returns this extension's name |
public string |
getVersion(
)
Returns this extension's version |
public void |
info(
)
Prints phpinfo block for the extension |
public mixed |
__call(
$method
, $arguments
)
Use overloading to call additional methods of the ReflectionException instance given to the constructor. |
public string |
__toString(
)
Returns a string representation |
From ReflectionExtension (Internal Class) | |
---|---|
public ReflectionExtension |
constructor __construct ( $name )
|
public void |
export ( $name, [$return = ] )
|
public void |
getClasses ( )
|
public void |
getClassNames ( )
|
public void |
getConstants ( )
|
public void |
getDependencies ( )
|
public void |
getFunctions ( )
|
public void |
getINIEntries ( )
|
public void |
getName ( )
|
public void |
getVersion ( )
|
public void |
info ( )
|
public void |
__clone ( )
|
public void |
__toString ( )
|
Exports a reflection object.
Returns the output if TRUE is specified for return, printing it otherwise. This is purely a wrapper method, which calls the corresponding method of the parent class.
Name | Type | Description |
---|---|---|
$extension |
ReflectionExtension|string | ReflectionExtension object or name of the extension |
$return |
boolean | Whether to return (TRUE) or print (FALSE) the output |
Method | Description |
---|---|
ReflectionExtension::export ( $name, [$return = ] ) |
Constructs a ezcReflectionExtension object from a given extension
Throws an Exception in case the given extension does not exist
Name | Type | Description |
---|---|---|
$extension |
string|ReflectionExtension | Name or ReflectionExtension object of the extension to be reflected |
Method | Description |
---|---|
ReflectionExtension::constructor __construct ( $name ) |
Returns an array containing ezcReflectionClass objects for all
classes of this extension
Method | Description |
---|---|
ReflectionExtension::getClasses ( ) |
Returns an array containing all names of all classes of this extension
Method | Description |
---|---|
ReflectionExtension::getClassNames ( ) |
Returns an associative array containing this extension's constants and
their values
Method | Description |
---|---|
ReflectionExtension::getConstants ( ) |
Returns an array containing all names of all extensions this extension
depends on
Method | Description |
---|---|
ReflectionExtension::getDependencies ( ) |
Returns an array of this extension's fuctions
Method | Description |
---|---|
ReflectionExtension::getFunctions ( ) |
Returns an associative array containing this extension's INI entries and
their values
Method | Description |
---|---|
ReflectionExtension::getINIEntries ( ) |
Returns this extension's name
Method | Description |
---|---|
ReflectionExtension::getName ( ) |
Returns this extension's version
Method | Description |
---|---|
ReflectionExtension::getVersion ( ) |
Prints phpinfo block for the extension
Method | Description |
---|---|
ReflectionExtension::info ( ) |
Use overloading to call additional methods of the ReflectionException instance given to the constructor.
Name | Type | Description |
---|---|---|
$method |
string | Method to be called |
$arguments |
array | Arguments that were passed |
Returns a string representation
Method | Description |
---|---|
ReflectionExtension::__toString ( ) |