Esempio n. 1
0
 /**
  *  Ethna_ViewClassのコンストラクタ
  *
  *  @access public
  *  @param  string  $forward_name   ビューに関連付けられている遷移名
  *  @param  string  $forward_path   ビューに関連付けられているテンプレートファイル名
  */
 public function __construct(ContainerInterface $container, Ethna_ActionForm $action_form, $forward_name, $forward_path)
 {
     $this->container = $container;
     $this->container->view = $this;
     $this->config = $this->container->getConfig();
     $this->i18n = $this->container->getI18N();
     $this->logger = $this->container->getLogger();
     $this->plugin = $this->container->getPlugin();
     $this->action_error = $this->container->getActionError();
     $this->ae = $this->action_error;
     $this->action_form = $action_form;
     $this->af = $action_form;
     $this->session = $this->container->getSession();
     $this->forward_name = $forward_name;
     $this->forward_path = $forward_path;
     foreach (array_keys($this->helper_action_form) as $action) {
         $this->addActionFormHelper($action);
     }
 }