addColumns(Model\InternalTaskIDModel::TABLE.'.internal_task_id') ->join(Model\InternalTaskIDModel::TABLE, 'id', 'id', $this->taskModel::TABLE); return $query; }; $this->hook->on('task:query:extended', $queryHook); } public function onStartup() { Translator::load($this->languageModel->getCurrentLanguage(), __DIR__.'/Locale'); } public function getPluginName() { return 'Internal ID'; } public function getPluginDescription() { return t('Internal (per-project) task numbers'); } public function getPluginAuthor() { return 'mkl'; } public function getPluginVersion() { return '1.0.0'; } public function getPluginHomepage() { return 'https://kanban.intranet/'; } public function getClasses() { return array( 'Plugin\InternalID\Model' => array( 'InternalTaskIDModel', ) ); } }