Ejemplo n.º 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());
 }
Ejemplo n.º 2
0
 protected static function _populateSchemes()
 {
     if (self::$_schemes === null) {
         self::$_schemes = tables\WorkflowSchemes::getTable()->getAll();
     }
 }