/** * Class constructor * * @param rolepage $page The page being used to display the list of roles */ function __construct(&$page) { //copy the page instance for safety reasons $this->page = $page->get_new_page(); }