예제 #1
0
파일: View.php 프로젝트: hjr3/ppi-framework
 /**
  * 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);
 }
예제 #2
0
 /**
  * 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);
 }