Lines Matching defs:event
15 * Add scripts via an event handler
20 * Register handler for the TPL_METAHEADER_OUTPUT event
41 * @param Doku_Event $event
44 public function metaheader(Doku_Event &$event, $param) {
45 $event->data['link'][] = array(
50 $event->data['script'][] = array(
58 $event->data['script'][] = array(
64 $event->data['script'][] = array(
90 public function editButton(Doku_Event $event, $param){
91 if($event->data['target'] !== 'plugin_sketchcanvas')
94 $event->data['name'] = /*$this->getLang*/('Edit Figure');
97 public function editForm(Doku_Event $event, $param){
99 if($event->data['target'] !== 'plugin_sketchcanvas')
101 $event->preventDefault();
103 $event->data['media_manager'] = false;
107 $form =& $event->data['form'];
135 * An event handler for newer versions of DokuWiki, starting from Igor.
137 * @param Doku_Event $event
139 public function editFormNew(Doku_Event $event, $param){
141 if($event->data['target'] !== 'plugin_sketchcanvas')
143 $event->preventDefault();
145 $event->data['media_manager'] = false;
147 $form =& $event->data['form'];
163 * @param Doku_Event $event
165 public function toolbarDefine(Doku_Event $event, $param){
166 $event->data[] = array(
176 * @param Doku_Event $event
178 function handle_newfigure($event) {
228 $event->data = 'edit';