/** * This loads a list of javascripts that are dependent throughout the whole component. * * @access public * @param null */ public function init($options = array()) { // @task: Only load when necessary and in html mode. if (self::$loaded) { return; } self::$options = $options; $this->initScripts(); $this->initStylesheets(); self::$loaded = true; }