public function export_for_template(\renderer_base $output) {
        $data = array('feeds' => array());

        foreach ($this->feeds as $feed) {
            $data['feeds'][] = $feed->export_for_template($output);
        }

        return $data;
    }
public function export_for_template(\renderer_base $output) {
        $data = array('feeds' => array());

        foreach ($this->feeds as $feed) {
            $data['feeds'][] = $feed->export_for_template($output);
        }

        return $data;
    }
public function export_for_template ( \ renderer_base $ output ) { $ data = array ( 'feeds' => array ( ) ) ; foreach ( $ this -> feeds as $ feed ) { $ data [ 'feeds' ] [ ] = $ feed -> export_for_template ( $ output ) ; } return $ data ; }
Prepare data for use in a template

@param \renderer_base $output
@return array
Prepare data for use in a template