protected function _initialize() { parent::_setup(self::B2DBNAME, self::ID); parent::_addForeignKeyColumn(self::WORKFLOW_ID, Workflows::getTable()); parent::_addForeignKeyColumn(self::WORKFLOW_SCHEME_ID, WorkflowSchemes::getTable()); parent::_addForeignKeyColumn(self::ISSUETYPE_ID, IssueTypes::getTable()); }
protected static function _populateSchemes() { if (self::$_schemes === null) { self::$_schemes = tables\WorkflowSchemes::getTable()->getAll(); } }