Lines Matching defs:handler
13 * 19/11/2016 : rewrote move plugin handler to work with all button syntaxes
51 function move_newid($handler, $page, $type)
53 if (method_exists($handler, 'adaptRelativeId')) { // move plugin before version 2015-05-16
54 $newpage = $handler->adaptRelativeId($page);
56 $newpage = $handler->resolveMoves($page, $type);
57 $newpage = $handler->relativeLink($page, $newpage, $type);
62 public function rewrite_button($match, $state, $pos, $plugin, helper_plugin_move_handler $handler)
69 //if (($handler->id == $handler->origID) && ($handler->ns == $handler->origNS)) return $returnValue;
75 $data['image'] = $this->move_newid($handler, $data['image'], 'media');
79 $link_items[0] = $this->move_newid($handler, $link_items[0], 'page');