Inheritance: extends Page_Controller
 /**
  * This module always requires a page model.
  */
 public function requireDefaultRecords()
 {
     parent::requireDefaultRecords();
     if (!self::get()->exists() && $this->config()->create_default_pages) {
         $page = self::create(array('Title' => 'Account', 'URLSegment' => AccountPage_Controller::config()->url_segment, 'ShowInMenus' => 0));
         $page->write();
         $page->publish('Stage', 'Live');
         $page->flushCache();
         DB::alteration_message('Account page created', 'created');
     }
 }
 /**
  * standard controller function
  **/
 function init()
 {
     parent::init();
     Requirements::themedCSS("CorporateAccountPage");
 }
 function init()
 {
     parent::init();
 }