本文整理汇总了PHP中TBGB2DBTable::_addFloat方法的典型用法代码示例。如果您正苦于以下问题:PHP TBGB2DBTable::_addFloat方法的具体用法?PHP TBGB2DBTable::_addFloat怎么用?PHP TBGB2DBTable::_addFloat使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类TBGB2DBTable
的用法示例。
在下文中一共展示了TBGB2DBTable::_addFloat方法的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: __construct
public function __construct()
{
parent::__construct(self::B2DBNAME, self::ID);
parent::_addForeignKeyColumn(self::ISSUE_ID, TBGIssuesTable::getTable(), TBGIssuesTable::ID);
parent::_addForeignKeyColumn(self::EDITED_BY, TBGUsersTable::getTable(), TBGUsersTable::ID);
parent::_addInteger(self::EDITED_AT, 10);
parent::_addInteger(self::ESTIMATED_MONTHS, 10);
parent::_addInteger(self::ESTIMATED_WEEKS, 10);
parent::_addInteger(self::ESTIMATED_DAYS, 10);
parent::_addInteger(self::ESTIMATED_HOURS, 10);
parent::_addFloat(self::ESTIMATED_POINTS);
parent::_addForeignKeyColumn(self::SCOPE, TBGScopesTable::getTable(), TBGScopesTable::ID);
}
示例2: _initialize
protected function _initialize()
{
parent::_setup(self::B2DBNAME, self::ID);
parent::_addForeignKeyColumn(self::ISSUE_ID, TBGIssuesTable::getTable(), TBGIssuesTable::ID);
parent::_addForeignKeyColumn(self::EDITED_BY, TBGUsersTable::getTable(), TBGUsersTable::ID);
parent::_addInteger(self::EDITED_AT, 10);
parent::_addInteger(self::SPENT_MONTHS, 10);
parent::_addInteger(self::SPENT_WEEKS, 10);
parent::_addInteger(self::SPENT_DAYS, 10);
parent::_addInteger(self::SPENT_HOURS, 10);
parent::_addFloat(self::SPENT_POINTS);
parent::_addForeignKeyColumn(self::SCOPE, TBGScopesTable::getTable(), TBGScopesTable::ID);
}
示例3: _initialize
protected function _initialize()
{
parent::_setup(self::B2DBNAME, self::ID);
parent::_addInteger(self::ISSUE_NO, 10);
parent::_addVarchar(self::TITLE, 255);
parent::_addInteger(self::POSTED, 10);
parent::_addInteger(self::LAST_UPDATED, 10);
parent::_addInteger(self::PROJECT_ID, 10);
parent::_addText(self::DESCRIPTION, false);
parent::_addBoolean(self::STATE);
parent::_addInteger(self::POSTED_BY, 10);
parent::_addFloat(self::USER_PAIN, 3);
parent::_addInteger(self::PAIN_BUG_TYPE, 3);
parent::_addInteger(self::PAIN_EFFECT, 3);
parent::_addInteger(self::PAIN_LIKELIHOOD, 3);
parent::_addText(self::REPRODUCTION_STEPS, false);
parent::_addInteger(self::RESOLUTION, 10);
parent::_addInteger(self::ISSUE_TYPE, 10);
parent::_addInteger(self::STATUS, 10);
parent::_addInteger(self::PRIORITY, 10);
parent::_addInteger(self::CATEGORY, 10);
parent::_addInteger(self::SEVERITY, 10);
parent::_addInteger(self::REPRODUCABILITY, 10);
parent::_addVarchar(self::SCRUMCOLOR, 7, '#FFFFFF');
parent::_addInteger(self::ESTIMATED_MONTHS, 10);
parent::_addInteger(self::ESTIMATED_WEEKS, 10);
parent::_addInteger(self::ESTIMATED_DAYS, 10);
parent::_addInteger(self::ESTIMATED_HOURS, 10);
parent::_addInteger(self::ESTIMATED_POINTS);
parent::_addInteger(self::SPENT_MONTHS, 10);
parent::_addInteger(self::SPENT_WEEKS, 10);
parent::_addInteger(self::SPENT_DAYS, 10);
parent::_addInteger(self::SPENT_HOURS, 10);
parent::_addInteger(self::VOTES_TOTAL, 10);
parent::_addInteger(self::SPENT_POINTS);
parent::_addInteger(self::PERCENT_COMPLETE, 2);
parent::_addInteger(self::DUPLICATE_OF, 10);
parent::_addBoolean(self::DELETED);
parent::_addBoolean(self::BLOCKING);
parent::_addBoolean(self::LOCKED);
parent::_addInteger(self::BEING_WORKED_ON_BY_USER, 10);
parent::_addInteger(self::BEING_WORKED_ON_BY_USER_SINCE, 10);
parent::_addInteger(self::MILESTONE, 10);
parent::_addInteger(self::WORKFLOW_STEP_ID, 10);
parent::_addInteger(self::SCOPE, 10);
parent::_addInteger(self::OWNER_USER, 10);
parent::_addInteger(self::OWNER_TEAM, 10);
parent::_addInteger(self::ASSIGNEE_TEAM, 10);
parent::_addInteger(self::ASSIGNEE_USER, 10);
}
示例4: _initialize
protected function _initialize()
{
parent::_setup(self::B2DBNAME, self::ID);
parent::_addInteger(self::ISSUE_NO, 10);
parent::_addVarchar(self::TITLE, 200);
parent::_addInteger(self::POSTED, 10);
parent::_addInteger(self::LAST_UPDATED, 10);
parent::_addForeignKeyColumn(self::PROJECT_ID, TBGProjectsTable::getTable(), TBGProjectsTable::ID);
parent::_addText(self::DESCRIPTION, false);
parent::_addBoolean(self::STATE);
parent::_addForeignKeyColumn(self::POSTED_BY, TBGUsersTable::getTable(), TBGUsersTable::ID);
parent::_addInteger(self::OWNER, 10);
parent::_addInteger(self::OWNER_TYPE, 2);
parent::_addFloat(self::USER_PAIN, 3);
parent::_addInteger(self::PAIN_BUG_TYPE, 3);
parent::_addInteger(self::PAIN_EFFECT, 3);
parent::_addInteger(self::PAIN_LIKELIHOOD, 3);
parent::_addInteger(self::ASSIGNED_TO, 10);
parent::_addText(self::REPRODUCTION_STEPS, false);
parent::_addForeignKeyColumn(self::RESOLUTION, TBGListTypesTable::getTable(), TBGListTypesTable::ID);
parent::_addForeignKeyColumn(self::ISSUE_TYPE, TBGIssueTypesTable::getTable(), TBGIssueTypesTable::ID);
parent::_addForeignKeyColumn(self::STATUS, TBGListTypesTable::getTable(), TBGListTypesTable::ID);
parent::_addForeignKeyColumn(self::PRIORITY, TBGListTypesTable::getTable(), TBGListTypesTable::ID);
parent::_addForeignKeyColumn(self::CATEGORY, TBGListTypesTable::getTable(), TBGListTypesTable::ID);
parent::_addForeignKeyColumn(self::SEVERITY, TBGListTypesTable::getTable(), TBGListTypesTable::ID);
parent::_addForeignKeyColumn(self::REPRODUCABILITY, TBGListTypesTable::getTable(), TBGListTypesTable::ID);
parent::_addVarchar(self::SCRUMCOLOR, 7, '#FFFFFF');
parent::_addInteger(self::ESTIMATED_MONTHS, 10);
parent::_addInteger(self::ESTIMATED_WEEKS, 10);
parent::_addInteger(self::ESTIMATED_DAYS, 10);
parent::_addInteger(self::ESTIMATED_HOURS, 10);
parent::_addInteger(self::ESTIMATED_POINTS);
parent::_addInteger(self::SPENT_MONTHS, 10);
parent::_addInteger(self::SPENT_WEEKS, 10);
parent::_addInteger(self::SPENT_DAYS, 10);
parent::_addInteger(self::SPENT_HOURS, 10);
parent::_addInteger(self::VOTES_TOTAL, 10);
parent::_addInteger(self::SPENT_POINTS);
parent::_addInteger(self::PERCENT_COMPLETE, 2);
parent::_addInteger(self::ASSIGNED_TYPE, 2);
parent::_addInteger(self::DUPLICATE_OF, 10);
parent::_addBoolean(self::DELETED);
parent::_addBoolean(self::BLOCKING);
parent::_addBoolean(self::LOCKED);
parent::_addForeignKeyColumn(self::BEING_WORKED_ON_BY_USER, TBGUsersTable::getTable(), TBGUsersTable::ID);
parent::_addInteger(self::BEING_WORKED_ON_BY_USER_SINCE, 10);
parent::_addForeignKeyColumn(self::MILESTONE, TBGMilestonesTable::getTable(), TBGMilestonesTable::ID);
parent::_addForeignKeyColumn(self::WORKFLOW_STEP_ID, TBGWorkflowStepsTable::getTable(), TBGWorkflowStepsTable::ID);
parent::_addForeignKeyColumn(self::SCOPE, TBGScopesTable::getTable(), TBGScopesTable::ID);
}