public function initialize()
 {
     parent::initialize();
     $this->loadHelper('Html');
     $this->loadHelper('Form');
 }
示例#2
0
文件: Helper.php 项目: UnionCMS/Core
 /**
  * Constructor hook method.
  *
  * @param array $config
  * @return void
  */
 public function initialize(array $config)
 {
     parent::initialize($config);
     $this->_path = $this->_View->getPath();
 }