Class Module
Represents Core-compatible modules and provides an advanced query interface.
- Core\Object implements Core\Chainable
- Core\Set implements Core\Accessor
- Core\Module
Package: Core\Module
Since: 3.1
Requires: PHP 5.3
Version: 1.1
Located at Module.inc.php
Methods summary
public
|
#
__construct( string $module )
Initialises a new instance from a module name. The constructor does not test, whether the module actually exists; this enables the use of some interface methods for non-existent modules. Use exists() to test whether the represented module is actually found in the search paths. |
public static
|
#
createWithRegisteredFilename( string $filename )
Creates a new module instance from filename registered with the Loader. |
public
|
|
public
boolean
|
|
public
true
|
|
public
string|false
|
|
public static
|
#
recursiveIteratorForPath( string $path )
Returns a new module iterator instance to recursively list modules. |
public
|
Methods inherited from Core\Object
__autocreateFactory()
,
__call()
,
__processParameters()
,
__toString()
,
attachMethod()
,
chain()
,
getValueForKey()
,
getValueForKeyPath()
,
getValueForUndefinedKey()
,
hash()
,
issetValueForKey()
,
setValueForKey()
,
setValueForKeyPath()
,
setValueForUndefinedKey()
,
uuid()
Constants summary
Constants inherited from Core\Object
AnyParameterType
,
AutochainParameterType
,
AutocreateParameterType
,
BooleanParameterType
,
CharParameterType
,
EnumParameterType
,
IntegerParameterType
,
RealParameterType
,
StringParameterType
,
UserParameterType
Properties summary
protected
string
|
$_v_filename
Module filename. |
|
protected
string
|
$_v_name
Name of module. |
|
protected
string
|
$_v_resolvedPath
Fully resolved module filename. |
Magic properties
public read-only
|
$dependencies |
public read-only
boolean
|
$exists
|
public read-only
string
|
$filename
Module filename. |
public read-only
string
|
$name
Name of module. |
public read-only
string
|
$realPath
Canonicalised absolute filename of the module. |
public read-only
string
|
$resolvedPath
Fully resolved module filename. |
public read-only
|
$version
Version information instance or |