public function queueTrackerReindexation(Tracker $tracker) { $project_id = $tracker->getGroupId(); if ($this->plugin->isAllowed($project_id)) { $this->system_event_manager->createEvent(SystemEvent_FULLTEXTSEARCH_TRACKER_REINDEX::NAME, $this->implodeParams(array($tracker->getId())), SystemEvent::PRIORITY_LOW, SystemEvent::OWNER_APP); } }
public function queueCopyDocument(Docman_Item $item) { if ($this->plugin->isAllowed($item->getGroupId())) { $this->system_event_manager->createEvent(SystemEvent_FULLTEXTSEARCH_DOCMAN_COPY::NAME, $this->getDocmanSerializedParameters($item), SystemEvent::PRIORITY_MEDIUM, SystemEvent::OWNER_APP); } }
public function queueWikiProjectReindexation($project_id) { if ($this->plugin->isAllowed($project_id)) { $this->system_event_manager->createEvent(SystemEvent_FULLTEXTSEARCH_WIKI_REINDEX_PROJECT::NAME, $project_id, SystemEvent::PRIORITY_LOW, SystemEvent::OWNER_APP); } }