public function saveAs($name)
    {
        $this->section_data[$name] = ob_get_clean();
        $this->ob_level--;
        if ($this->ob_level) {
            echo $this->section_data[$name];
        }
    }
public function saveAs($name)
    {
        $this->section_data[$name] = ob_get_clean();
        $this->ob_level--;
        if ($this->ob_level) {
            echo $this->section_data[$name];
        }
    }
public function saveAs ( $ name ) { $ this -> section_data [ $ name ] = ob_get_clean ( ) ; $ this -> ob_level -- ; if ( $ this -> ob_level ) { echo $ this -> section_data [ $ name ] ; } }
end capture with name.

@param $name
end capture with name .