Kohana loader class for Zend. More...
Static Public Member Functions | |
static | instance ($class=false) |
Create and return instance of Zend class. | |
static | set_zend_path ($class=false) |
Set include path to zend libraries. |
Kohana loader class for Zend.
static zend_Core::instance | ( | $ | class = false |
) | [static] |
Create and return instance of Zend class.
Takes a Zend component/class name as input and tries to find and instantiate it. Example: $db = zend::instance('Db'); Creates an instance of the Zend_Db class and returns it Note that some classes won't be able to call this way since their constructors are protected.
$class | string: Class name, case insensitive |
static zend_Core::set_zend_path | ( | $ | class = false |
) | [static] |
Set include path to zend libraries.
$class | string: Class-name |