public function getScripts()
    {
        $retVal = '';
        while ( $this->scripts->valid() ) {
            $retVal .= "<script type='text/javascript'>\n{$this->scripts->get()}\n</script>\n";
            $this->scripts->next();
        }
        
        return $retVal;
    }
public function getScripts()
    {
        $retVal = '';
        while ( $this->scripts->valid() ) {
            $retVal .= "<script type='text/javascript'>\n{$this->scripts->get()}\n</script>\n";
            $this->scripts->next();
        }
        
        return $retVal;
    }
public function getScripts ( ) { $ retVal = '' ; while ( $ this -> scripts -> valid ( ) ) { $ retVal .= "<script type='text/javascript'>\n{$this->scripts->get()}\n</script>\n" ; $ this -> scripts -> next ( ) ; } return $ retVal ; }
Returns inline js, in case you don't want to immediately render.
@return string
Returns inline js in case you don t want to immediately render .