Archived
1
0
Fork 0
This repository has been archived on 2026-05-10. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
fiktivkod/library/Fiktiv/Controller/Action.php
2010-09-03 01:23:26 +02:00

20 lines
No EOL
499 B
PHP

<?php
/**
* Wrapper for Zend_Controller_Action
*
*/
class Fiktiv_Controller_Action extends Zend_Controller_Action
{
protected function translate()
{
$args = func_get_args();
return call_user_func_array(array($this->view, 'translate'), $args);
}
public function __get($name)
{
if ($this->_helper->$name instanceof Zend_Controller_Action_Helper_Abstract) {
return call_user_func(array($this->_helper->$name, 'dbService'));
}
}
}