/**
  * LoadRecentPages
  * This method loads a list of recently-accessed pages from the database.
  * This list is stored in this object's variable "recent" as an array of
  * associations. See ../lib/classes/class.recentpage.inc.php for more
  * information on the array's format.
  *
  */
 function LoadRecentPages()
 {
     require_once "../lib/classes/class.recentpage.inc.php";
     $this->recent = RecentPageOperations::LoadRecentPages($this->userid);
 }
Beispiel #2
0
 /**
  * Purges oldest records from the database, preserving only the
  * n most-recent.
  *
  * @returns mixed If successful, true.  If it fails, false.
  */
 function PurgeOldPages($userid, $count = 5)
 {
     return RecentPageOperations::PurgeOldPages($userid, $count);
 }