當前位置: 首頁>>代碼示例>>PHP>>正文


PHP TBGB2DBTable::_addBoolean方法代碼示例

本文整理匯總了PHP中TBGB2DBTable::_addBoolean方法的典型用法代碼示例。如果您正苦於以下問題:PHP TBGB2DBTable::_addBoolean方法的具體用法?PHP TBGB2DBTable::_addBoolean怎麽用?PHP TBGB2DBTable::_addBoolean使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在TBGB2DBTable的用法示例。


在下文中一共展示了TBGB2DBTable::_addBoolean方法的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。

示例1: __construct

 public function __construct()
 {
     parent::__construct(self::B2DBNAME, self::ID);
     parent::_addVarchar(self::NAME, 50);
     parent::_addBoolean(self::ONDEMAND);
     parent::_addForeignKeyColumn(self::SCOPE, TBGScopesTable::getTable(), TBGScopesTable::ID);
 }
開發者ID:ronaldbroens,項目名稱:thebuggenie,代碼行數:7,代碼來源:TBGTeamsTable.class.php

示例2: __construct

 public function __construct()
 {
     parent::__construct(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);
 }
開發者ID:ronaldbroens,項目名稱:thebuggenie,代碼行數:34,代碼來源:TBGProjectsTable.class.php

示例3: __construct

 public function __construct()
 {
     parent::__construct(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);
 }
開發者ID:ronaldbroens,項目名稱:thebuggenie,代碼行數:8,代碼來源:TBGWorkflowsTable.class.php

示例4: _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);
 }
開發者ID:oparoz,項目名稱:thebuggenie,代碼行數:8,代碼來源:TBGUserScopesTable.class.php

示例5: _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);
 }
開發者ID:oparoz,項目名稱:thebuggenie,代碼行數:8,代碼來源:TBGIssueRelationsTable.class.php

示例6: __construct

 public function __construct()
 {
     parent::__construct(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);
 }
開發者ID:ronaldbroens,項目名稱:thebuggenie,代碼行數:8,代碼來源:TBGIssueRelationsTable.class.php

示例7: _initialize

 protected function _initialize()
 {
     parent::__construct(self::B2DBNAME, self::ID);
     parent::_addBoolean(self::ENABLED, false);
     parent::_addText(self::DESCRIPTION, false);
     parent::_addInteger(self::ADMINISTRATOR, 10);
     parent::_addVarchar(self::HOSTNAME, 150, '');
 }
開發者ID:oparoz,項目名稱:thebuggenie,代碼行數:8,代碼來源:TBGScopesTable3dot0.class.php

示例8: __construct

 public function __construct()
 {
     parent::__construct(self::B2DBNAME, self::ID);
     parent::_addVarchar(self::ARTICLE_NAME, 300);
     parent::_addBoolean(self::ARTICLE_IS_CATEGORY);
     parent::_addVarchar(self::CATEGORY_NAME, 300);
     parent::_addForeignKeyColumn(self::SCOPE, TBGScopesTable::getTable(), TBGScopesTable::ID);
 }
開發者ID:ronaldbroens,項目名稱:thebuggenie,代碼行數:8,代碼來源:TBGArticleCategoriesTable.class.php

示例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);
 }
開發者ID:oparoz,項目名稱:thebuggenie,代碼行數:8,代碼來源:TBGWorkflowsTable3dot2.class.php

示例10: _initialize

 protected function _initialize()
 {
     parent::_setup(self::B2DBNAME, self::ID);
     parent::_addVarchar(self::ARTICLE_NAME, 300);
     parent::_addBoolean(self::ARTICLE_IS_CATEGORY);
     parent::_addVarchar(self::CATEGORY_NAME, 300);
     parent::_addForeignKeyColumn(self::SCOPE, TBGScopesTable::getTable(), TBGScopesTable::ID);
 }
開發者ID:oparoz,項目名稱:thebuggenie,代碼行數:8,代碼來源:TBGArticleCategoriesTable.class.php

示例11: __construct

 public function __construct()
 {
     parent::__construct(self::B2DBNAME, self::ID);
     parent::_addBoolean(self::CONFIRMED);
     parent::_addForeignKeyColumn(self::COMPONENT, B2DB::getTable('TBGComponentsTable'), TBGComponentsTable::ID);
     parent::_addForeignKeyColumn(self::ISSUE, TBGIssuesTable::getTable(), TBGIssuesTable::ID);
     parent::_addForeignKeyColumn(self::SCOPE, TBGScopesTable::getTable(), TBGScopesTable::ID);
     parent::_addForeignKeyColumn(self::STATUS, TBGListTypesTable::getTable(), TBGListTypesTable::ID);
 }
開發者ID:ronaldbroens,項目名稱:thebuggenie,代碼行數:9,代碼來源:TBGIssueAffectsComponentTable.class.php

示例12: _initialize

 protected function _initialize()
 {
     parent::_setup(self::B2DBNAME, self::ID);
     parent::_addVarchar(self::NAME, 50);
     parent::_addVarchar(self::ICON, 30, 'bug_report');
     parent::_addText(self::DESCRIPTION, false);
     parent::_addBoolean(self::TASK);
     parent::_addForeignKeyColumn(self::SCOPE, TBGScopesTable::getTable(), TBGScopesTable::ID);
 }
開發者ID:oparoz,項目名稱:thebuggenie,代碼行數:9,代碼來源:TBGIssueTypesTable3dot1.class.php

示例13: __construct

 public function __construct()
 {
     parent::__construct(self::B2DBNAME, self::ID);
     parent::_addForeignKeyColumn(self::ISSUETYPE_SCHEME_ID, TBGIssuetypeSchemesTable::getTable(), TBGIssuetypeSchemesTable::ID);
     parent::_addForeignKeyColumn(self::ISSUETYPE_ID, TBGIssueTypesTable::getTable(), TBGIssueTypesTable::ID);
     parent::_addBoolean(self::REPORTABLE, true);
     parent::_addBoolean(self::REDIRECT_AFTER_REPORTING, true);
     parent::_addForeignKeyColumn(self::SCOPE, TBGScopesTable::getTable(), TBGScopesTable::ID);
 }
開發者ID:ronaldbroens,項目名稱:thebuggenie,代碼行數:9,代碼來源:TBGIssuetypeSchemeLinkTable.class.php

示例14: __construct

 public function __construct()
 {
     parent::__construct(self::B2DBNAME, self::ID);
     parent::_addVarchar(self::NAME, 50);
     parent::_addVarchar(self::ICON, 30, 'bug_report');
     parent::_addText(self::DESCRIPTION, false);
     parent::_addBoolean(self::TASK);
     parent::_addForeignKeyColumn(self::SCOPE, TBGScopesTable::getTable(), TBGScopesTable::ID);
 }
開發者ID:ronaldbroens,項目名稱:thebuggenie,代碼行數:9,代碼來源:TBGIssueTypesTable.class.php

示例15: _initialize

 protected function _initialize()
 {
     parent::_setup(self::B2DBNAME, self::ID);
     parent::_addForeignKeyColumn(self::ISSUETYPE_SCHEME_ID, TBGIssuetypeSchemesTable::getTable(), TBGIssuetypeSchemesTable::ID);
     parent::_addForeignKeyColumn(self::ISSUETYPE_ID, TBGIssueTypesTable::getTable(), TBGIssueTypesTable::ID);
     parent::_addBoolean(self::REPORTABLE, true);
     parent::_addBoolean(self::REDIRECT_AFTER_REPORTING, true);
     parent::_addForeignKeyColumn(self::SCOPE, TBGScopesTable::getTable(), TBGScopesTable::ID);
 }
開發者ID:oparoz,項目名稱:thebuggenie,代碼行數:9,代碼來源:TBGIssuetypeSchemeLinkTable.class.php


注:本文中的TBGB2DBTable::_addBoolean方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。