initAction() 보호된 메소드

initAction[$action] and calls it.
protected initAction ( string $action )
$action string
예제 #1
0
 /**
  * Set up some key js vars.
  *
  * @param string $action
  */
 protected function initAction($action)
 {
     parent::initAction($action);
     if (in_array($action, array('create', 'update'))) {
         $this->jsVars['OE_gp_id'] = $this->patient->gp_id;
         $this->jsVars['OE_practice_id'] = $this->patient->practice_id;
         $this->loadDirectLines();
     }
 }