|
The Yaf_Action_Abstract classIntroductionAn action can be defined in a separate file in Yaf (see Yaf_Controller_Abstract). That is, an 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. Class synopsisYaf_Action_Abstract
class Yaf_Action_Abstract
extends
Yaf_Controller_Abstract
{
/* Properties */
protected
$_controller;
/* Methods */
abstract publicmixed execute(mixed
...$args)publicYaf_Controller_Abstractnull getController()
public stringnull getControllerName()
/* Inherited methods */
protected boolnull Yaf_Controller_Abstract::display(string
$tpl, arraynull $parameters = ?)public boolnull Yaf_Controller_Abstract::forward(string
$action, arraynull $parameters = ?)public stringnull Yaf_Controller_Abstract::getInvokeArg(string
$name)public arraynull Yaf_Controller_Abstract::getInvokeArgs()
public stringnull Yaf_Controller_Abstract::getModuleName()
public stringnull Yaf_Controller_Abstract::getName()
public Yaf_Request_Abstractnull Yaf_Controller_Abstract::getRequest()
public Yaf_Response_Abstractnull Yaf_Controller_Abstract::getResponse()
public Yaf_View_Interfacenull Yaf_Controller_Abstract::getView()
public stringnull Yaf_Controller_Abstract::getViewpath()
public void Yaf_Controller_Abstract::init()
public Yaf_View_Interfacenull Yaf_Controller_Abstract::initView(arraynull
$options = ?)public boolnull Yaf_Controller_Abstract::redirect(string
$url)protected stringboolnull Yaf_Controller_Abstract::render(string
$tpl, arraynull $parameters = ?)public boolnull Yaf_Controller_Abstract::setViewpath(string
}$view_directory)Properties
|