コード例 #1
0
ファイル: Info.php プロジェクト: riaf/ethna
 /**
  *  遷移前処理
  *
  *  @access public
  */
 function preforward()
 {
     $ctl = Ethna_Controller::getInstance();
     $em = new Ethna_InfoManager($this->backend);
     // cores
     $this->af->setApp('app_id', $ctl->getAppId());
     $this->af->setApp('ethna_version', ETHNA_VERSION);
     // actions
     $this->af->setApp('action_list', $em->getActionList());
     // views
     $this->af->setApp('forward_list', $em->getForwardList());
     // configuration
     $this->af->setApp('configuration', $em->getConfiguration());
     // plugins
     $this->af->setApp('plugin_list', $em->getPluginList());
 }