The Yaf_Action_Abstract class

(Yaf >=1.0.0)

Einführung

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.

Klassenbeschreibung

Yaf_Action_Abstract extends Yaf_Controller_Abstract {
/* Eigenschaften */
protected $_controller ;
/* Methoden */
abstract publicexecute ([ mixed $arg [, mixed $... ]] ) : mixed
/* Geerbte Methoden */
final private Yaf_Controller_Abstract::__clone ( void ) : void
final private Yaf_Controller_Abstract::__construct ( void )
protected Yaf_Controller_Abstract::display ( string $tpl [, array $parameters ] ) : bool
public Yaf_Controller_Abstract::forward ( string $action [, array $paramters ] ) : void
public Yaf_Controller_Abstract::getInvokeArg ( string $name ) : void
public Yaf_Controller_Abstract::getModuleName ( void ) : string
public Yaf_Controller_Abstract::getViewpath ( void ) : string
public Yaf_Controller_Abstract::init ( void ) : void
public Yaf_Controller_Abstract::initView ([ array $options ] ) : void
public Yaf_Controller_Abstract::redirect ( string $url ) : bool
protected Yaf_Controller_Abstract::render ( string $tpl [, array $parameters ] ) : string
public Yaf_Controller_Abstract::setViewpath ( string $view_directory ) : void
}

Eigenschaften

_module

_name

_request

_response

_invoke_args

_view

_controller

Inhaltsverzeichnis