public function appendScripts($scriptKey, $scripts, $isFile = true)
    {
        // if has the script key already, ignore
        if (isset($this->_extraScripts[$scriptKey])) {
            return;
        }
        // add the scripts
        if ($isFile) {
            $_scripts = "<script type='text/javascript' src=\"" . Openbizx::$app->getJsUrl() . "/$scripts\"></script>";
            $this->_extraScripts[$scriptKey] = $_scripts;
        } else {
            $this->_extraScripts[$scriptKey] = $scripts;
        }
    }
public function appendScripts($scriptKey, $scripts, $isFile = true)
    {
        // if has the script key already, ignore
        if (isset($this->_extraScripts[$scriptKey])) {
            return;
        }
        // add the scripts
        if ($isFile) {
            $_scripts = "<script type='text/javascript' src=\"" . Openbizx::$app->getJsUrl() . "/$scripts\"></script>";
            $this->_extraScripts[$scriptKey] = $_scripts;
        } else {
            $this->_extraScripts[$scriptKey] = $scripts;
        }
    }
public function appendScripts ( $ scriptKey , $ scripts , $ isFile = true ) { // if has the script key already, ignore if ( isset ( $ this -> _extraScripts [ $ scriptKey ] ) ) { return ; } // add the scripts if ( $ isFile ) { $ _scripts = "<script type='text/javascript' src=\"" . Openbizx :: $ app -> getJsUrl ( ) . "/$scripts\"></script>" ; $ this -> _extraScripts [ $ scriptKey ] = $ _scripts ; } else { $ this -> _extraScripts [ $ scriptKey ] = $ scripts ; } }
Append more scripts - js include, js code

@param mixed $scriptKey
@param string $scripts
@param boolean $isFile
@return void
Append more scripts - js include js code