/** * Display the content * @see PluginPanel::displayContent() */ protected function displayContent() { $this->initData(); $MultiEditor = new MultiEditor($this->IDs); $MultiEditor->display(); echo Ajax::wrapJS('$("#ajax").addClass("small-window");'); }
/** * Display after insert */ public function displayAfterInsert() { if ($this->EditorRequested) { $MultiEditor = new MultiEditor($this->InsertedIDs); $MultiEditor->display(); } else { echo HTML::em(__('The activities have been successfully imported.')); echo Ajax::closeOverlay(); } }
/** * Get IDs * @return array */ public static function IDs() { if (empty(self::$IDs)) { if (strlen(Request::param('multi-editor-ids')) > 0) { self::$IDs = explode(',', Request::param('multi-editor-ids')); } } return self::$IDs; }