src/Assetter/Assetter.php
public function all($group = '*')
    {
        $this->sort();

        $cssList = $this->getLoadedCssList($group);
        $jsList  = $this->getLoadedJsList($group);

        list($cssList, $jsList) = $this->fireEvent('load.all', [ & $cssList, & $jsList ]);

        $cssList = $this->transformListToLinkHtmlNodes($cssList);
        $jsList  = $this->transformListToScriptHtmlNodes($jsList);

        return implode("\n", $cssList)."\n".implode("\n", $jsList);
    }
public function all($group = '*')
    {
        $this->sort();

        $cssList = $this->getLoadedCssList($group);
        $jsList  = $this->getLoadedJsList($group);

        list($cssList, $jsList) = $this->fireEvent('load.all', [ & $cssList, & $jsList ]);

        $cssList = $this->transformListToLinkHtmlNodes($cssList);
        $jsList  = $this->transformListToScriptHtmlNodes($jsList);

        return implode("\n", $cssList)."\n".implode("\n", $jsList);
    }
public function all ( $ group = '*' ) { $ this -> sort ( ) ; $ cssList = $ this -> getLoadedCssList ( $ group ) ; $ jsList = $ this -> getLoadedJsList ( $ group ) ; list ( $ cssList , $ jsList ) = $ this -> fireEvent ( 'load.all' , [ & $ cssList , & $ jsList ] ) ; $ cssList = $ this -> transformListToLinkHtmlNodes ( $ cssList ) ; $ jsList = $ this -> transformListToScriptHtmlNodes ( $ jsList ) ; return implode ( "\n" , $ cssList ) . "\n" . implode ( "\n" , $ jsList ) ; }
Returns both CSS and JS tags from given group name.
If group name is asterisk (*), will return from all loaded groups.
@param  string $group Group name.
@return string HTML tags as string.
Returns both CSS and JS tags from given group name . If group name is asterisk ( * ) will return from all loaded groups .