本文整理汇总了PHP中RequestCheckUtil::checkMinValue方法的典型用法代码示例。如果您正苦于以下问题:PHP RequestCheckUtil::checkMinValue方法的具体用法?PHP RequestCheckUtil::checkMinValue怎么用?PHP RequestCheckUtil::checkMinValue使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类RequestCheckUtil
的用法示例。
在下文中一共展示了RequestCheckUtil::checkMinValue方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: check
public function check()
{
RequestCheckUtil::checkNotNull($this->groupId, "groupId");
RequestCheckUtil::checkMinValue($this->groupId, 1, "groupId");
RequestCheckUtil::checkNotNull($this->newGroupName, "newGroupName");
RequestCheckUtil::checkMaxLength($this->newGroupName, 15, "newGroupName");
}
示例2: check
public function check()
{
RequestCheckUtil::checkMaxValue($this->dbStatus, 3, "dbStatus");
RequestCheckUtil::checkMinValue($this->dbStatus, 0, "dbStatus");
RequestCheckUtil::checkNotNull($this->instanceName, "instanceName");
RequestCheckUtil::checkMaxLength($this->instanceName, 30, "instanceName");
}
示例3: check
public function check()
{
RequestCheckUtil::checkMinValue($this->pageNo, 1, "pageNo");
RequestCheckUtil::checkMaxValue($this->pageSize, 1000, "pageSize");
RequestCheckUtil::checkMinValue($this->pageSize, 1, "pageSize");
RequestCheckUtil::checkNotNull($this->startTime, "startTime");
}
示例4: check
public function check()
{
RequestCheckUtil::checkNotNull($this->currentPage, "currentPage");
RequestCheckUtil::checkMinValue($this->currentPage, 1, "currentPage");
RequestCheckUtil::checkMaxValue($this->pageSize, 100, "pageSize");
RequestCheckUtil::checkMinValue($this->pageSize, 1, "pageSize");
}
示例5: check
public function check()
{
RequestCheckUtil::checkNotNull($this->channelId, "channelId");
RequestCheckUtil::checkMinValue($this->pageNo, 1, "pageNo");
RequestCheckUtil::checkMaxValue($this->pageSize, 100, "pageSize");
RequestCheckUtil::checkMinValue($this->pageSize, 10, "pageSize");
}
示例6: check
public function check()
{
RequestCheckUtil::checkMinValue($this->pageNumber, 1, "pageNumber");
RequestCheckUtil::checkMaxValue($this->pageSize, 50, "pageSize");
RequestCheckUtil::checkMinValue($this->pageSize, 1, "pageSize");
RequestCheckUtil::checkNotNull($this->regionId, "regionId");
}
示例7: check
public function check()
{
RequestCheckUtil::checkNotNull($this->catId, "catId");
RequestCheckUtil::checkNotNull($this->type, "type");
RequestCheckUtil::checkMaxValue($this->type, 1, "type");
RequestCheckUtil::checkMinValue($this->type, -1, "type");
}
示例8: check
public function check()
{
RequestCheckUtil::checkNotNull($this->cid, "cid");
RequestCheckUtil::checkNotNull($this->fields, "fields");
RequestCheckUtil::checkMaxValue($this->type, 2, "type");
RequestCheckUtil::checkMinValue($this->type, 1, "type");
}
示例9: check
public function check()
{
RequestCheckUtil::checkNotNull($this->hid, "hid");
RequestCheckUtil::checkMinValue($this->hid, 0, "hid");
RequestCheckUtil::checkNotNull($this->name, "name");
RequestCheckUtil::checkMaxLength($this->name, 30, "name");
}
示例10: check
public function check()
{
RequestCheckUtil::checkMinValue($this->pageNo, 1, "pageNo");
RequestCheckUtil::checkMaxValue($this->pageSize, 200, "pageSize");
RequestCheckUtil::checkMinValue($this->pageSize, 1, "pageSize");
RequestCheckUtil::checkNotNull($this->synAppKey, "synAppKey");
}
示例11: check
public function check()
{
RequestCheckUtil::checkMaxListSize($this->addGroups, 10, "addGroups");
RequestCheckUtil::checkMaxListSize($this->deleteGroups, 10, "deleteGroups");
RequestCheckUtil::checkNotNull($this->ruleId, "ruleId");
RequestCheckUtil::checkMinValue($this->ruleId, 1, "ruleId");
}
示例12: check
public function check()
{
RequestCheckUtil::checkMaxListSize($this->groupNames, 20, "groupNames");
RequestCheckUtil::checkMinValue($this->pageNo, 1, "pageNo");
RequestCheckUtil::checkMaxValue($this->pageSize, 100, "pageSize");
RequestCheckUtil::checkMinValue($this->pageSize, 1, "pageSize");
}
示例13: check
public function check()
{
RequestCheckUtil::checkNotNull($this->buyerNick, "buyerNick");
RequestCheckUtil::checkNotNull($this->grade, "grade");
RequestCheckUtil::checkMaxValue($this->grade, 4, "grade");
RequestCheckUtil::checkMinValue($this->grade, 1, "grade");
}
示例14: check
public function check()
{
RequestCheckUtil::checkMaxListSize($this->nicks, 20, "nicks");
RequestCheckUtil::checkMinValue($this->pageNo, 0, "pageNo");
RequestCheckUtil::checkMaxValue($this->pageSize, 200, "pageSize");
RequestCheckUtil::checkMinValue($this->pageSize, 0, "pageSize");
}
示例15: check
public function check()
{
RequestCheckUtil::checkNotNull($this->denominations, "denominations");
RequestCheckUtil::checkMaxValue($this->denominations, 100, "denominations");
RequestCheckUtil::checkMinValue($this->denominations, 3, "denominations");
RequestCheckUtil::checkNotNull($this->endTime, "endTime");
}