initialize() public method

public initialize ( string $type )
$type string The type of init to load, possible values are: frontend, frontend_ajax, frontend_js.
Ejemplo n.º 1
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);
     \SpoonFilter::disableMagicQuotes();
 }
Ejemplo n.º 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();
 }