public function renderComponents($sectionName = null)
    {
        $output = '';
        $components = $this->getSectionComponents($sectionName);
        foreach ($components as $component) {
            $output .= $component->render();
        }
        return $output;
    }
public function renderComponents($sectionName = null)
    {
        $output = '';
        $components = $this->getSectionComponents($sectionName);
        foreach ($components as $component) {
            $output .= $component->render();
        }
        return $output;
    }
public function renderComponents ( $ sectionName = null ) { $ output = '' ; $ components = $ this -> getSectionComponents ( $ sectionName ) ; foreach ( $ components as $ component ) { $ output .= $ component -> render ( ) ; } return $ output ; }
Renders components related to specified section.

By default components without specified section will be rendered.

@param string|null $sectionName
@return string
Renders components related to specified section .