Lines Matching defs:page
35 * Get the structured data of a given page
37 * @param string $page The page to get data for
44 public function getData($page, $schema, $time)
46 $page = cleanID($page);
48 if (auth_quickaclcheck($page) < AUTH_READ) {
49 throw new AccessDeniedException('no permissions to access data of that page');
55 return $this->hlp->getData($page, $schema, $time);
63 * Saves data for a given page (creates a new revision)
67 * the given schemas are no longer assigned to that page.
69 * @param string $page
77 public function saveData($page, $data, $summary, $minor = false)
79 $page = cleanID($page);
81 if (auth_quickaclcheck($page) < AUTH_EDIT) {
82 throw new AccessDeniedException('no permissions to save data for that page');
86 $this->hlp->saveData($page, $data, $summary, $minor);