initialize() 공개 메소드

public initialize ( string $type )
$type string The type of init to load, possible values are: frontend, frontend_ajax, frontend_js.
예제 #1
0
파일: Init.php 프로젝트: forkcms/forkcms
 /**
  * @param string $type The type of init to load, possible values are: frontend, frontend_ajax, frontend_js.
  */
 public function initialize($type)
 {
     parent::initialize($type);
     \SpoonFilter::disableMagicQuotes();
 }
예제 #2
0
 /**
  * @param string $type The type of init to load, possible values are: frontend, frontend_ajax, frontend_js.
  */
 public function initialize($type)
 {
     parent::initialize($type);
     $this->requireFrontendClasses();
     \SpoonFilter::disableMagicQuotes();
 }