コード例 #1
0
 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());
 }
コード例 #2
0
 protected static function _populateSchemes()
 {
     if (self::$_schemes === null) {
         self::$_schemes = tables\WorkflowSchemes::getTable()->getAll();
     }
 }