/** * Append to the list of javascript files to be included * * @param mixed $p_mJavascript * @return void */ function addJavascript($p_mJavascript) { PPI_View_Helper::addJavascript($p_mJavascript); }
/** * Add a javascript file to be rendered. * @param mixed $p_mJavascript */ static function addJavascript($p_mJavascript) { self::$_javascriptFiles = array_merge(self::$_javascriptFiles, (array) $p_mJavascript); }