public function getAllScripts() {
        $return = '';
        foreach ($this->config->get('mvc')['defaultScripts'] as $script) {
            //If the script includes the // is for example http or https absolute route
            if (strpos($script, '//') !== FALSE) {
                $return .= '<script type="text/javascript" src="' . $script . '"></script>';
            } else {
                $return .= '<script type="text/javascript" src="' . $this->asset($script, TRUE) . '"></script>';
            }
        }
        $return .= $this->scripts;
        return $return;
    }
public function getAllScripts() {
        $return = '';
        foreach ($this->config->get('mvc')['defaultScripts'] as $script) {
            //If the script includes the // is for example http or https absolute route
            if (strpos($script, '//') !== FALSE) {
                $return .= '<script type="text/javascript" src="' . $script . '"></script>';
            } else {
                $return .= '<script type="text/javascript" src="' . $this->asset($script, TRUE) . '"></script>';
            }
        }
        $return .= $this->scripts;
        return $return;
    }
public function getAllScripts ( ) { $ return = '' ; foreach ( $ this -> config -> get ( 'mvc' ) [ 'defaultScripts' ] as $ script ) { //If the script includes the // is for example http or https absolute route if ( strpos ( $ script , '//' ) !== FALSE ) { $ return .= '<script type="text/javascript" src="' . $ script . '"></script>' ; } else { $ return .= '<script type="text/javascript" src="' . $ this -> asset ( $ script , TRUE ) . '"></script>' ; } } $ return .= $ this -> scripts ; return $ return ; }
Get all the scripts, included the default scripts defined in the config
file.

@return string with the dinamic and default scripts
Get all the scripts included the default scripts defined in the config file .