Yaf
PHP Manual

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 $_controller ;
/* メソッド */
abstract publicmixed execute ([ mixed $arg [, mixed $... ]] )
publicYaf_Controller_Abstract getController ( void )
/* 継承したメソッド */
final private void Yaf_Controller_Abstract::__clone ( void )
final private Yaf_Controller_Abstract::__construct ( void )
final protected void Yaf_Controller_Abstract::display ( string $tpl [, array $parameters ] )
final public void Yaf_Controller_Abstract::forward ( string $module [, string $controller [, string $action [, array $paramters ]]] )
final public void Yaf_Controller_Abstract::getInvokeArg ( string $name )
final public void Yaf_Controller_Abstract::getInvokeArgs ( void )
final public void Yaf_Controller_Abstract::getModuleName ( void )
final public void Yaf_Controller_Abstract::getRequest ( void )
final public void Yaf_Controller_Abstract::getResponse ( void )
final public void Yaf_Controller_Abstract::getView ( void )
final public void Yaf_Controller_Abstract::getViewpath ( void )
final public void Yaf_Controller_Abstract::initView ([ array $options ] )
final public void Yaf_Controller_Abstract::redirect ( string $url )
final protected void Yaf_Controller_Abstract::render ( string $tpl [, array $parameters ] )
final public void Yaf_Controller_Abstract::setViewpath ( string $view_directory )
}

プロパティ

_module

_name

_request

_response

_invoke_args

_view

_controller

目次


Yaf
PHP Manual