|
The Yaf_Action_Abstract class(Информация о версии неизвестна, возможно, только в SVN) ВведениеA action can be defined in a separate file in Yaf(see Yaf_Controller_Abstract). that is a action method can also be a Yaf_Action_Abstract class. Since there should be a entry point which can be called by Yaf (as of PHP 5.3, there is a new magic method __invoke, but Yaf is not only works with PHP 5.3+, Yaf choose another magic method execute), you must implement the abstract method Yaf_Action_Abstract::execute() in your custom action class. Обзор классов
Yaf_Action_Abstract
extends
Yaf_Controller_Abstract
{
/* Свойства */
protected
$Yaf_Action_Abstract->_controller
;
/* Методы */
/* Наследуемые методы */
final public void Yaf_Controller_Abstract::forward
( string $module
[, string $controller
[, string $action
[, array $paramters
]]] )
}Свойства
Содержание
|
|