Yaf_View_Interface::assign

(Yaf >=1.0.0) Assign value to View engine abstract public bool Yaf_View_Interface::assign ( string $name [, string $value ] ) Assigan values to View engine, then the value can access directly by name in template. Parameters: name Assigan values to View engine, then the value can access directly by name in template. value Assigan valu

Yaf_Action_Abstract::getController

(Yaf >=1.0.0) Retrieve controller object public Yaf_Controller_Abstract Yaf_Action_Abstract::getController ( void ) retrieve current controller object. Returns: Yaf_Controller_Abstract instance

Yaf_Action_Abstract::execute

(Yaf >=1.0.0) Action entry point abstract public mixed Yaf_Action_Abstract::execute ([ mixed $arg [, mixed $... ]] ) user should always define this method for a action, this is the entry point of an action. Yaf_Action_Abstract::execute() may have agruments. Note: The value retrived from the request is not safe. you should do some filtering work before you use it. Returns:

Yaf_Controller_Abstract::setViewpath

(Yaf >=1.0.0) The setViewpath purpose public void Yaf_Controller_Abstract::setViewpath ( string $view_directory ) Parameters: view_directory Returns:

Yaf_Controller_Abstract::render

(Yaf >=1.0.0) Render view template protected string Yaf_Controller_Abstract::render ( string $tpl [, array $parameters ] ) Parameters: tpl parameters Returns:

Yaf_Controller_Abstract::redirect

(Yaf >=1.0.0) Redirect to a URL public bool Yaf_Controller_Abstract::redirect ( string $url ) redirect to a URL by sending a 302 header Parameters: url a location URL Returns: bool

Yaf_Controller_Abstract::initView

(Yaf >=1.0.0) The initView purpose public void Yaf_Controller_Abstract::initView ([ array $options ] ) Parameters: options Returns:

Yaf_Controller_Abstract::init

(Yaf >=1.0.0) Controller initializer public void Yaf_Controller_Abstract::init ( void ) Yaf_Controller_Abstract::__construct() is final, which means users can not override it. but users can define Yaf_Controller_Abstract::init(), which will be called after controller object is instantiated. Returns: See also:

Yaf_Controller_Abstract::getViewpath

(Yaf >=1.0.0) The getViewpath purpose public void Yaf_Controller_Abstract::getViewpath ( void ) Returns:

Yaf_Controller_Abstract::getView

(Yaf >=1.0.0) Retrieve the view engine public Yaf_View_Interface Yaf_Controller_Abstract::getView ( void ) retrieve view engine Returns: