Lines Matching refs:page
174 $opts['pattern'] = '/<todo([^>]*)>(.*?)<\/todo[\W]*?>/'; //all todos in a wiki page
183 foreach($todopages as &$page) {
184 uasort($page['todos'], function($a, $b) {
243 // check if ~~NOTODO~~ is set on the page to skip this page
279 // Only return the todo page if it's in the root namespace
336 foreach($todopages as $page) {
339 foreach($page['matches'][1] as $todoindex => $todomatch) {
340 $todo = array_merge(array('todotitle' => trim($page['matches'][2][$todoindex]), 'todoindex' => $todoindex), $this->parseTodoArgs($todomatch), $data);
347 $pages[] = array('id' => $page['id'], 'todos' => $todos);
358 foreach($todopages as $page) {
359 foreach($page['todos'] as $value) {
380 foreach($todopages as $page) {
384 $R->internallink(':'.$page['id'], ($data['header']=='firstheader' ? p_get_first_heading($page['id']) : $page['id']));
388 foreach($page['todos'] as $todo) {
395 $R->doc .= $this->createTodoItem($R, $page['id'], array_merge($todo, $data));