本文整理汇总了PHP中TBGB2DBTable::_setup方法的典型用法代码示例。如果您正苦于以下问题:PHP TBGB2DBTable::_setup方法的具体用法?PHP TBGB2DBTable::_setup怎么用?PHP TBGB2DBTable::_setup使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类TBGB2DBTable
的用法示例。
在下文中一共展示了TBGB2DBTable::_setup方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: _initialize
protected function _initialize()
{
parent::_setup(self::B2DBNAME, self::ID);
parent::_addVarchar(self::ARTICLE_NAME, 300);
parent::_addVarchar(self::LINK_ARTICLE_NAME, 300);
parent::_addForeignKeyColumn(self::SCOPE, TBGScopesTable::getTable(), TBGScopesTable::ID);
}
示例2: _initialize
protected function _initialize()
{
parent::_setup(self::B2DBNAME, self::ID);
parent::_addText(self::MESSAGE);
parent::_addInteger(self::DATE, 10);
parent::_addForeignKeyColumn(self::SCOPE, TBGScopesTable::getTable(), TBGScopesTable::ID);
}
示例3: _initialize
protected function _initialize()
{
parent::_setup(self::B2DBNAME, self::ID);
parent::_addForeignKeyColumn(self::ISSUETYPE_ID, TBGIssueTypesTable::getTable(), TBGIssueTypesTable::ID);
parent::_addForeignKeyColumn(self::PROJECT_ID, TBGProjectsTable::getTable(), TBGProjectsTable::ID);
parent::_addForeignKeyColumn(self::SCOPE, TBGScopesTable::getTable(), TBGScopesTable::ID);
}
示例4: _initialize
protected function _initialize()
{
parent::_setup(self::B2DBNAME, self::ID);
parent::_addForeignKeyColumn(self::USER_ID, TBGUsersTable::getTable(), TBGUsersTable::ID);
parent::_addForeignKeyColumn(self::ARTICLE_ID, TBGArticlesTable::getTable(), TBGArticlesTable::ID);
parent::_addForeignKeyColumn(self::SCOPE, TBGScopesTable::getTable(), TBGScopesTable::ID);
}
示例5: _initialize
protected function _initialize()
{
parent::_setup(self::B2DBNAME, self::ID);
parent::_addVarchar(self::NAME, 100);
parent::_addVarchar(self::KEY, 100);
parent::_addVarchar(self::PREFIX, 5, '');
parent::_addBoolean(self::USE_PREFIX);
parent::_addBoolean(self::USE_SCRUM);
parent::_addVarchar(self::HOMEPAGE, 200, '');
parent::_addInteger(self::OWNER, 10);
parent::_addInteger(self::OWNER_TYPE, 3);
parent::_addInteger(self::LEAD_BY, 10);
parent::_addInteger(self::LEAD_TYPE, 3);
parent::_addText(self::DESCRIPTION, false);
parent::_addVarchar(self::DOC_URL, 200, '');
parent::_addBoolean(self::ALLOW_CHANGING_WITHOUT_WORKING);
parent::_addBoolean(self::RELEASED);
parent::_addBoolean(self::PLANNED_RELEASED);
parent::_addInteger(self::RELEASE_DATE, 10);
parent::_addBoolean(self::ENABLE_BUILDS);
parent::_addBoolean(self::ENABLE_EDITIONS);
parent::_addBoolean(self::ENABLE_COMPONENTS);
parent::_addBoolean(self::SHOW_IN_SUMMARY, true);
parent::_addVarchar(self::SUMMARY_DISPLAY, 15, 'issuetypes');
parent::_addInteger(self::QA, 10);
parent::_addInteger(self::QA_TYPE, 3);
parent::_addBoolean(self::LOCKED);
parent::_addForeignKeyColumn(self::SCOPE, TBGScopesTable::getTable(), TBGScopesTable::ID);
parent::_addForeignKeyColumn(self::WORKFLOW_SCHEME_ID, TBGWorkflowSchemesTable::getTable(), TBGWorkflowSchemesTable::ID);
parent::_addForeignKeyColumn(self::ISSUETYPE_SCHEME_ID, TBGIssuetypeSchemesTable::getTable(), TBGIssuetypeSchemesTable::ID);
parent::_addForeignKeyColumn(self::CLIENT, TBGClientsTable::getTable(), TBGClientsTable::ID);
parent::_addBoolean(self::DELETED);
parent::_addBoolean(self::AUTOASSIGN);
}
示例6: _initialize
protected function _initialize()
{
parent::_setup(self::B2DBNAME, self::ID);
parent::_addForeignKeyColumn(self::EDITION, Core::getTable('TBGEditionsTable'), TBGEditionsTable::ID);
parent::_addForeignKeyColumn(self::COMPONENT, Core::getTable('TBGComponentsTable'), TBGComponentsTable::ID);
parent::_addForeignKeyColumn(self::SCOPE, TBGScopesTable::getTable(), TBGScopesTable::ID);
}
示例7: _initialize
protected function _initialize()
{
parent::_setup(self::B2DBNAME, self::ID);
parent::_addForeignKeyColumn(self::MILESTONE_ID, TBGMilestonesTable::getTable(), TBGMilestonesTable::ID);
parent::_addForeignKeyColumn(self::PROJECT_ID, TBGProjectsTable::getTable(), TBGProjectsTable::ID);
parent::_addForeignKeyColumn(self::SCOPE, TBGScopesTable::getTable(), TBGScopesTable::ID);
}
示例8: _initialize
protected function _initialize()
{
parent::_setup(self::B2DBNAME, self::ID);
parent::_addForeignKeyColumn(self::UID, TBGUsersTable::getTable());
parent::_addForeignKeyColumn(self::CID, TBGClientsTable::getTable());
parent::_addForeignKeyColumn(self::SCOPE, TBGScopesTable::getTable());
}
示例9: _initialize
protected function _initialize()
{
parent::_setup(self::B2DBNAME, self::ID);
parent::_addForeignKeyColumn(self::SCOPE, TBGScopesTable::getTable(), TBGScopesTable::ID);
parent::_addVarchar(self::NAME, 200);
parent::_addText(self::DESCRIPTION, false);
parent::_addBoolean(self::IS_ACTIVE);
}
示例10: _initialize
protected function _initialize()
{
parent::_setup(self::B2DBNAME, self::ID);
parent::_addForeignKeyColumn(self::SCOPE, TBGScopesTable::getTable());
parent::_addForeignKeyColumn(self::WORKFLOW_ID, TBGWorkflowsTable::getTable());
parent::_addForeignKeyColumn(self::WORKFLOW_SCHEME_ID, TBGWorkflowSchemesTable::getTable());
parent::_addForeignKeyColumn(self::ISSUETYPE_ID, TBGIssueTypesTable::getTable());
}
示例11: _initialize
protected function _initialize()
{
parent::_setup(self::B2DBNAME, self::ID);
parent::_addBoolean(self::MUSTFIX);
parent::_addForeignKeyColumn(self::SCOPE, TBGScopesTable::getTable(), TBGScopesTable::ID);
parent::_addForeignKeyColumn(self::PARENT_ID, TBGIssuesTable::getTable(), TBGIssuesTable::ID);
parent::_addForeignKeyColumn(self::CHILD_ID, TBGIssuesTable::getTable(), TBGIssuesTable::ID);
}
示例12: _initialize
protected function _initialize()
{
parent::_setup(self::B2DBNAME, self::ID);
parent::_addBoolean(self::CONFIRMED);
parent::_addForeignKeyColumn(self::USER_ID, TBGUsersTable::getTable(), TBGUsersTable::ID);
parent::_addForeignKeyColumn(self::GROUP_ID, TBGGroupsTable::getTable(), TBGGroupsTable::ID);
parent::_addForeignKeyColumn(self::SCOPE, TBGScopesTable::getTable(), TBGScopesTable::ID);
}
示例13: _initialize
protected function _initialize()
{
parent::_setup(self::B2DBNAME, self::ID);
parent::_addForeignKeyColumn(self::ISSUE_ID, TBGIssuesTable::getTable(), TBGIssuesTable::ID);
parent::_addForeignKeyColumn(self::CUSTOMFIELDS_ID, Core::getTable('TBGCustomFieldsTable'), TBGCustomFieldsTable::ID);
parent::_addText(self::OPTION_VALUE, false);
parent::_addForeignKeyColumn(self::SCOPE, TBGScopesTable::getTable(), TBGScopesTable::ID);
}
示例14: _initialize
protected function _initialize()
{
parent::_setup(self::B2DBNAME, self::ID);
parent::_addForeignKeyColumn(self::ISSUE_ID, TBGIssuesTable::getTable(), TBGIssuesTable::ID);
parent::_addVarchar(self::TAG_NAME, 50);
parent::_addInteger(self::ADDED, 10);
parent::_addForeignKeyColumn(self::SCOPE, TBGScopesTable::getTable(), TBGScopesTable::ID);
}
示例15: _initialize
protected function _initialize()
{
parent::_setup(self::B2DBNAME, self::ID);
parent::_addForeignKeyColumn(self::COMPONENT_ID, TBGComponentsTable::getTable());
parent::_addForeignKeyColumn(self::USER_ID, TBGUsersTable::getTable());
parent::_addForeignKeyColumn(self::ROLE_ID, TBGListTypesTable::getTable());
parent::_addForeignKeyColumn(self::SCOPE, TBGScopesTable::getTable());
}