function init() { parent::init(); $this->api->jui = $this; $this->addDefaultIncludes(); $this->atk4_initialised = true; }
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; }
/** * 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; }