/** * __get magic * * Allows view to access loaded classes using the same * syntax as controllers. * * @param string $key */ public function __get($key) { return Kotori_Controller::getInstance()->{$key}; }
public function __construct() { parent::__construct(); }