public function includeScriptOnce($sFileName, $sType = null, $sId = null)
    {
        $command = array('cmd' => 'ino');

        if(($sType))
            $command['type'] = trim((string)$sType, " \t");

        if(($sId))
            $command['elm_id'] = trim((string)$sId, " \t");

        return $this->addCommand($command, trim((string)$sFileName, " \t"));
    }
public function includeScriptOnce($sFileName, $sType = null, $sId = null)
    {
        $command = array('cmd' => 'ino');

        if(($sType))
            $command['type'] = trim((string)$sType, " \t");

        if(($sId))
            $command['elm_id'] = trim((string)$sId, " \t");

        return $this->addCommand($command, trim((string)$sFileName, " \t"));
    }
public function includeScriptOnce ( $ sFileName , $ sType = null , $ sId = null ) { $ command = array ( 'cmd' => 'ino' ) ; if ( ( $ sType ) ) $ command [ 'type' ] = trim ( ( string ) $ sType , " \t" ) ; if ( ( $ sId ) ) $ command [ 'elm_id' ] = trim ( ( string ) $ sId , " \t" ) ; return $ this -> addCommand ( $ command , trim ( ( string ) $ sFileName , " \t" ) ) ; }
Add a command to include a javascript file on the browser if it has not already been loaded

@param string        $sFileName            The relative or fully qualified URI of the javascript file
@param string        $sType                Determines the script type. Defaults to 'text/javascript'

@return \Jaxon\Plugin\Response
Add a command to include a javascript file on the browser if it has not already been loaded