static instance factory(
)
|
|
the OOPs factory
API Tags:
| Return: | factory instance |
| Access: | public |
mixed get_oops_instance(
string
$type
)
|
|
get a class instance from a specific type
Parameters:
|
string |
$type: |
name of the type to instance |
API Tags:
| Return: | instance object of the type |
| Access: | public |
mixed type_call(
string
$type, string
$method, array
$args
)
|
|
Call an instance method
Parameters:
|
string |
$type: |
class name of object |
|
string |
$method: |
method |
|
array |
$args: |
arguments to the method |
API Tags:
| Return: | whatever the call returns |
| Access: | public |
mixed __call(
string
$name, array
$args
)
|
|
Overloaded method for call instance object methods
Parameters:
|
string |
$name: |
type and name to call |
|
array |
$args: |
arguments to the call |
API Tags:
| Return: | whatever the call returns |
| Access: | public |