Esempio n. 1
0
 /** @protected
  * constructor (do not use directly, use new_user_page() or new_page())
  * @param page "real" page
  */
 function MW_SpecialUserPage($page)
 {
     parent::MW_Page($page->name);
     $this->page = $page;
     $this->fill_vars();
     $this->related_user = substr($this->name, strlen(MW_PAGE_NAME_PREFIX_USER));
     $this->last_modified = now_as_datetime();
 }
Esempio n. 2
0
 function MW_SpecialPage($name)
 {
     parent::MW_Page($name);
     $this->has_content = true;
     $this->last_modified = now_as_datetime();
 }