public function render_categories(categories $page) {
        $data = $page->export_for_template($this);
        return parent::render_from_template('tool_dataprivacy/categories', $data);
    }
public function render_categories(categories $page) {
        $data = $page->export_for_template($this);
        return parent::render_from_template('tool_dataprivacy/categories', $data);
    }
public function render_categories ( categories $ page ) { $ data = $ page -> export_for_template ( $ this ) ; return parent :: render_from_template ( 'tool_dataprivacy/categories' , $ data ) ; }
Render the categories management page.

@param categories $page
@return string html for the page
@throws moodle_exception
Render the categories management page .