public function all()
    {
        foreach ($this->getAll() as $widget) {
            foreach ($widget as $name => $args) {
                $widgets[] = $this->widget($name, $args);
            }
        }

        return empty($widgets) ? null : trim(implode(PHP_EOL, $widgets));
    }
public function all()
    {
        foreach ($this->getAll() as $widget) {
            foreach ($widget as $name => $args) {
                $widgets[] = $this->widget($name, $args);
            }
        }

        return empty($widgets) ? null : trim(implode(PHP_EOL, $widgets));
    }
public function all ( ) { foreach ( $ this -> getAll ( ) as $ widget ) { foreach ( $ widget as $ name => $ args ) { $ widgets [ ] = $ this -> widget ( $ name , $ args ) ; } } return empty ( $ widgets ) ? null : trim ( implode ( PHP_EOL , $ widgets ) ) ; }
Renders all widgets
@return string|void Html code
@uses getAll()
@uses widget()
Renders all widgets