/** * Add one or several CSS for front, checking if css files are overridden in theme/css/modules/ directory * @see Controller::addCSS() * * @param array|string $css_uri $media_uri Path to file, or an array of paths like: array(array(uri => media_type), ...) * @param string $css_media_type CSS media type * @param int|null $offset * @param bool $check_path If true, checks if files exists * @return true|void */ public function addCSS($css_uri, $css_media_type = 'all', $offset = null, $check_path = true) { return FrontController::addMedia($css_uri, $css_media_type, $offset = null, false, $check_path); }
public function addMedia() { parent::addMedia(); $this->addJS('InputEditor.js'); }