The Yaf_Action_Abstract class
(Yaf >=1.0.0)
Introdução
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, you must implement the abstract method Yaf_Action_Abstract::execute() in your custom action class.
Resumo da classe
class Yaf_Action_Abstract
extends
Yaf_Controller_Abstract
{
/* Propriedades */
protected
$_controller;
/* Métodos */
/* Métodos herdados */
}Propriedades
- _module
- _name
- _request
- _response
- _invoke_args
- _view
- _controller
Table of Contents
- Yaf_Action_Abstract::execute — Action entry point
- Yaf_Action_Abstract::getController — Retrieve controller object
- Yaf_Action_Abstract::getControllerName — Get controller name