Source for file Ethna_View_Info.php

Documentation is available at Ethna_View_Info.php

  1. <?php
  2. // vim: foldmethod=marker
  3. /**
  4.  *  Ethna_View_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$
  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 private
  23.      */
  24.  
  25.     /**#@-*/
  26.  
  27.     /**
  28.      *  遷移前処理
  29.      *
  30.      *  @access public
  31.      */
  32.     function preforward()
  33.     {
  34.         $ctl =Ethna_Controller::getInstance();
  35.         $em =new Ethna_InfoManager($this->backend);
  36.  
  37.         // cores
  38.         $this->af->setApp('app_id'$ctl->getAppId());
  39.         $this->af->setApp('ethna_version'ETHNA_VERSION);
  40.  
  41.         // actions
  42.         $this->af->setApp('action_list'$em->getActionList());
  43.  
  44.         // views 
  45.         $this->af->setApp('forward_list'$em->getForwardList());
  46.  
  47.         // configuration
  48.         $this->af->setApp('configuration'$em->getConfiguration());
  49.  
  50.         // plugins
  51.         $this->af->setApp('plugin_list'$em->getPluginList());
  52.     }
  53. }
  54. // }}}
  55. ?>

Documentation generated on Fri, 11 Nov 2011 04:01:11 +0900 by phpDocumentor 1.4.3