コード例 #1
0
ファイル: Blog.php プロジェクト: abtris/solarphp-quickstart
 protected function _setup()
 {
     parent::_setup();
     $this->_model = Solar_Registry::get('model_catalog');
 }
コード例 #2
0
ファイル: Bread.php プロジェクト: abtris/solarphp-quickstart
 /**
  * 
  * Sets the <title> string in the view before rendering.
  * 
  * @return Solar_Form
  * 
  */
 protected function _preRender()
 {
     parent::_preRender();
     $title = ucwords($this->_controller) . ' : ' . ucwords($this->_action);
     $this->_view_object->head()->setTitle($title);
 }