init() public method

Initialization
public init ( )
Example #1
0
File: jUI.php Project: respond/atk4
 function init()
 {
     parent::init();
     $this->api->jui = $this;
     $this->addDefaultIncludes();
     $this->atk4_initialised = true;
 }
Example #2
0
 function init()
 {
     parent::init();
     if (@$this->api->jui) {
         throw $this->exception('Do not add jUI twice');
     }
     $this->api->jui = $this;
     $this->addDefaultIncludes();
     $this->atk4_initialised = true;
 }
Example #3
0
 /**
  * addAction
  * add query to stack
  *
  * @param  string $name
  * @param  jQuery_Action $jQuery_Action
  * @return void
  */
 public static function addAction($name, jQuery_Action &$jQuery_Action)
 {
     jQuery::init();
     jQuery::$jQuery->response['a'][$name][] = $jQuery_Action;
 }