Source for file Info.php

Documentation is available at Info.php

  1. <?php
  2. // vim: foldmethod=marker
  3. /**
  4.  *  Info.php
  5.  *
  6.  *  @author     Masaki Fujimoto <fujimoto@php.net>
  7.  *  @license    http://www.opensource.org/licenses/bsd-license.php The BSD License
  8.  *  @package    Ethna
  9.  *  @version    $Id: 5657022506f99bd20cf2e34b3145d5a3e84a8e62 $
  10.  */
  11.  
  12. // {{{ Ethna_View_Info
  13. /**
  14.  *  __ethna_info__ビューの実装
  15.  *
  16.  *  @author     Masaki Fujimoto <fujimoto@php.net>
  17.  *  @access     public
  18.  *  @package    Ethna
  19.  */
  20. {
  21.     /**#@+
  22.      *  @access public
  23.      */
  24.  
  25.     /** @var boolean  レイアウトテンプレートの使用フラグ       */
  26.     public $use_layout = false;
  27.  
  28.     /**#@-*/
  29.  
  30.     /**
  31.      *  遷移前処理
  32.      *
  33.      *  @access public
  34.      */
  35.     public function preforward()
  36.     {
  37.         $ctl Ethna_Controller::getInstance();
  38.         $em new Ethna_InfoManager($this->backend);
  39.  
  40.         // cores
  41.         $this->af->setApp('app_id'$ctl->getAppId());
  42.         $this->af->setApp('ethna_version'ETHNA_VERSION);
  43.  
  44.         // actions
  45.         $this->af->setApp('action_list'$em->getActionList());
  46.  
  47.         // views 
  48.         $this->af->setApp('forward_list'$em->getForwardList());
  49.  
  50.         // configuration
  51.         $this->af->setApp('configuration'$em->getConfiguration());
  52.  
  53.         // plugins
  54.         $this->af->setApp('plugin_list'$em->getPluginList());
  55.     }
  56.  
  57.     protected function _setDefault($renderer)
  58.     {
  59.     }
  60. }
  61. // }}}

Documentation generated on Fri, 11 Nov 2011 03:58:20 +0900 by phpDocumentor 1.4.3