Lines Matching refs:event
56 function cleanACT(&$event, $args) { argument
60 $event->data == 'register' ||
61 $event->data == 'login' ||
62 $event->data == 'profile'
63 ) $event->data = 'show';
65 if($event->data == 'admin') $event->data = 'show';
68 $event->data == 'edit' ||
69 $event->data == 'preview' ||
70 $event->data == 'save' ||
71 $event->data == 'draft' ||
72 $event->data == 'recover' ||
73 $event->data == 'draftdel' ||
74 $event->data == 'conflict'
75 ) $event->data = 'show';
84 function displayState(&$event, $args) { argument
110 function processHeaders(&$event, $args) { argument
116 for($i=0; $i<count($event->data['link']); $i++) {
117 if(!isset($event->data['link'][$i]['href'])) continue;
118 …$event->data['link'][$i]['href'] = preg_replace('`^/?'.$animal->getName().'`', '', $event->data['l…
121 for($i=0; $i<count($event->data['script']); $i++) {
122 if(!isset($event->data['script'][$i]['src'])) continue;
123 …$event->data['script'][$i]['src'] = preg_replace('`^/?'.$animal->getName().'`', '', $event->data['…
126 for($i=0; $i<count($event->data['link']); $i++) {
127 if(!isset($event->data['link'][$i]['href'])) continue;
128 …$event->data['link'][$i]['href'] = $farmconf['farmwebroot'].$farmconf['farmer'].substr($event->dat…
129 …if(!DOKU_IS_FARMER) $event->data['link'][$i]['href'] .= (strrpos($event->data['link'][$i]['href'],…
132 for($i=0; $i<count($event->data['script']); $i++) {
133 if(!isset($event->data['script'][$i]['src'])) continue;
134 …$event->data['script'][$i]['src'] = $farmconf['farmwebroot'].$farmconf['farmer'].substr($event->da…
135 …if(!DOKU_IS_FARMER) $event->data['script'][$i]['src'] .= (strrpos($event->data['script'][$i]['src'…