Lines Matching defs:pageid
107 foreach($selection as $pageid) {
108 $page = cleanID($pageid);
109 if(auth_quickaclcheck($pageid) < AUTH_READ) {
122 * @param string $pageid
125 protected function getTitle($pageid) {
128 if(useHeading('navigation') && $pageid) {
129 $heading = p_get_first_heading($pageid);
137 $pageid = strtr($pageid, ';/', ';:');
139 $pageid = strtr($pageid, ';', ':');
142 $name = noNSorNS($pageid);
182 foreach($selection as $pageid) {
183 $content .= " * [[:$pageid]]".DOKU_LF;
211 $pageid = cleanID($this->getConf('save_namespace') . ":" . $page);
213 if(!file_exists(wikiFN($pageid))){
214 throw new Exception(sprintf($this->getLang('selectiondontexist'), $pageid));
217 saveWikiText($pageid, '', $this->getLang('selectiondeleted'));
218 $response['success'] = sprintf($this->getLang('deleted'), $pageid);
219 $response['deletedpage'] = noNS($pageid);
231 $pageid = cleanID($this->getConf('save_namespace') . ":" . $page);
234 throw new Exception(sprintf($this->getLang('selectiondontexist'), $pageid .':'));
237 if(auth_quickaclcheck($pageid) < AUTH_READ) {
238 throw new Exception(sprintf($this->getLang('selectionforbidden'), $pageid));
241 if(!file_exists(wikiFN($pageid))) {
242 throw new Exception(sprintf($this->getLang('selectiondontexist'), $pageid));
245 list($title, $list) = $this->getSavedSelection($pageid);
254 * @param string $pageid pagename containing the selection
257 protected function getSavedSelection($pageid) {
261 $pagecontent = rawWiki($pageid);