当前位置: 首页>>代码示例>>PHP>>正文


PHP TBGB2DBTable::_addInteger方法代码示例

本文整理汇总了PHP中TBGB2DBTable::_addInteger方法的典型用法代码示例。如果您正苦于以下问题:PHP TBGB2DBTable::_addInteger方法的具体用法?PHP TBGB2DBTable::_addInteger怎么用?PHP TBGB2DBTable::_addInteger使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在TBGB2DBTable的用法示例。


在下文中一共展示了TBGB2DBTable::_addInteger方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: __construct

 public function __construct()
 {
     parent::__construct(self::B2DBNAME, self::ID);
     parent::_addText(self::MESSAGE);
     parent::_addInteger(self::DATE, 10);
     parent::_addForeignKeyColumn(self::SCOPE, TBGScopesTable::getTable(), TBGScopesTable::ID);
 }
开发者ID:ronaldbroens,项目名称:thebuggenie,代码行数:7,代码来源:TBGMailQueueTable.class.php

示例2: _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);
 }
开发者ID:oparoz,项目名称:thebuggenie,代码行数:34,代码来源:TBGProjectsTable3dot1.class.php

示例3: _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);
 }
开发者ID:oparoz,项目名称:thebuggenie,代码行数:7,代码来源:TBGMailQueueTable.class.php

示例4: __construct

 public function __construct()
 {
     parent::__construct(self::B2DBNAME, self::ID);
     parent::_addInteger(self::TARGET, 10);
     parent::_addInteger(self::VOTE, 2);
     parent::_addForeignKeyColumn(self::UID, TBGUsersTable::getTable(), TBGUsersTable::ID);
     parent::_addForeignKeyColumn(self::SCOPE, TBGScopesTable::getTable(), TBGScopesTable::ID);
 }
开发者ID:ronaldbroens,项目名称:thebuggenie,代码行数:8,代码来源:TBGVotesTable.class.php

示例5: _initialize

 protected function _initialize()
 {
     parent::_setup(self::B2DBNAME, self::ID);
     parent::_addInteger(self::TARGET, 10);
     parent::_addInteger(self::VOTE, 2);
     parent::_addForeignKeyColumn(self::UID, TBGUsersTable::getTable(), TBGUsersTable::ID);
     parent::_addForeignKeyColumn(self::SCOPE, TBGScopesTable::getTable(), TBGScopesTable::ID);
 }
开发者ID:oparoz,项目名称:thebuggenie,代码行数:8,代码来源:TBGVotesTable.class.php

示例6: _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);
 }
开发者ID:oparoz,项目名称:thebuggenie,代码行数:8,代码来源:TBGIssueTagsTable.class.php

示例7: __construct

 public function __construct()
 {
     parent::__construct(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);
 }
开发者ID:ronaldbroens,项目名称:thebuggenie,代码行数:8,代码来源:TBGIssueTagsTable.class.php

示例8: _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

示例9: __construct

 public function __construct()
 {
     parent::__construct(self::B2DBNAME, self::ID);
     parent::_addForeignKeyColumn(self::UID, TBGUsersTable::getTable(), TBGUsersTable::ID);
     parent::_addForeignKeyColumn(self::SCOPE, TBGScopesTable::getTable(), TBGScopesTable::ID);
     parent::_addForeignKeyColumn(self::ISSUE_ID, TBGIssuesTable::getTable(), TBGIssuesTable::ID);
     parent::_addForeignKeyColumn(self::FILE_ID, TBGFilesTable::getTable(), TBGFilesTable::ID);
     parent::_addInteger(self::ATTACHED_AT, 10);
 }
开发者ID:ronaldbroens,项目名称:thebuggenie,代码行数:9,代码来源:TBGIssueFilesTable.class.php

示例10: __construct

 public function __construct()
 {
     parent::__construct(self::B2DBNAME, self::ID);
     parent::_addInteger(self::TARGET_TYPE, 5);
     parent::_addForeignKeyColumn(self::EDITION_ID, B2DB::getTable('TBGEditionsTable'), TBGEditionsTable::ID);
     parent::_addForeignKeyColumn(self::UID, TBGUsersTable::getTable(), TBGUsersTable::ID);
     parent::_addForeignKeyColumn(self::TID, B2DB::getTable('TBGTeamsTable'), TBGTeamsTable::ID);
     parent::_addForeignKeyColumn(self::SCOPE, TBGScopesTable::getTable(), TBGScopesTable::ID);
 }
开发者ID:ronaldbroens,项目名称:thebuggenie,代码行数:9,代码来源:TBGEditionAssigneesTable.class.php

示例11: _initialize

 protected function _initialize()
 {
     parent::_setup(self::B2DBNAME, self::ID);
     parent::_addVarchar(self::NAME, 45);
     parent::_addVarchar(self::MODULE, 45);
     parent::_addVarchar(self::VALUE, 200);
     parent::_addInteger(self::UID, 10);
     parent::_addForeignKeyColumn(self::SCOPE, TBGScopesTable::getTable());
 }
开发者ID:oparoz,项目名称:thebuggenie,代码行数:9,代码来源:TBGSettingsTable3dot2.class.php

示例12: _initialize

 protected function _initialize()
 {
     parent::_setup(self::B2DBNAME, self::ID);
     parent::_addForeignKeyColumn(self::UID, TBGUsersTable::getTable(), TBGUsersTable::ID);
     parent::_addForeignKeyColumn(self::SCOPE, TBGScopesTable::getTable(), TBGScopesTable::ID);
     parent::_addForeignKeyColumn(self::ISSUE_ID, TBGIssuesTable::getTable(), TBGIssuesTable::ID);
     parent::_addForeignKeyColumn(self::FILE_ID, TBGFilesTable::getTable(), TBGFilesTable::ID);
     parent::_addInteger(self::ATTACHED_AT, 10);
 }
开发者ID:oparoz,项目名称:thebuggenie,代码行数:9,代码来源:TBGIssueFilesTable.class.php

示例13: __construct

 public function __construct()
 {
     parent::__construct(self::B2DBNAME, self::ID);
     parent::_addVarchar(self::NAME, 45);
     parent::_addVarchar(self::MODULE, 45);
     parent::_addVarchar(self::VALUE, 200);
     parent::_addInteger(self::UID, 10);
     parent::_addForeignKeyColumn(self::SCOPE, TBGScopesTable::getTable(), TBGScopesTable::ID);
 }
开发者ID:ronaldbroens,项目名称:thebuggenie,代码行数:9,代码来源:TBGSettingsTable.class.php

示例14: _initialize

 public function _initialize()
 {
     parent::_setup(self::B2DBNAME, self::ID);
     parent::_addVarchar(self::NAME, 255);
     parent::_addText(self::CONTENT, false);
     parent::_addBoolean(self::IS_PUBLISHED);
     parent::_addInteger(self::DATE, 10);
     parent::_addForeignKeyColumn(self::AUTHOR, TBGUsersTable::getTable(), TBGUsersTable::ID);
     parent::_addForeignKeyColumn(self::SCOPE, TBGScopesTable::getTable(), TBGScopesTable::ID);
 }
开发者ID:oparoz,项目名称:thebuggenie,代码行数:10,代码来源:TBGArticlesTable3dot2.class.php

示例15: __construct

 public function __construct()
 {
     parent::__construct(self::B2DBNAME, self::ID);
     parent::_addVarchar(self::NAME, 100);
     parent::_addVarchar(self::OPTION_VALUE, 100);
     parent::_addVarchar(self::ITEMDATA, 100);
     parent::_addInteger(self::SORT_ORDER, 100);
     parent::_addVarchar(self::CUSTOMFIELDS_KEY, 100);
     parent::_addForeignKeyColumn(self::SCOPE, TBGScopesTable::getTable(), TBGScopesTable::ID);
 }
开发者ID:ronaldbroens,项目名称:thebuggenie,代码行数:10,代码来源:TBGCustomFieldOptionsTable.class.php


注:本文中的TBGB2DBTable::_addInteger方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。