• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

PHP ARInteger类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

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



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

示例1: registerClass

 public function registerClass($className, $id)
 {
     self::getEavClasses();
     self::$eavClasses[$className] = $id;
     $schema = self::getSchemaInstance('EavObject');
     $schema->registerField(new ARForeignKeyField(EavObject::getClassField($className), $className, "ID", null, ARInteger::instance()), false);
 }
开发者ID:saiber,项目名称:livecart,代码行数:7,代码来源:EavField.php


示例2: defineSchema

 public static function defineSchema($className = __CLASS__)
 {
     $schema = self::getSchemaInstance($className);
     $schema->setName($className);
     $schema->registerField(new ARPrimaryKeyField('ID', ARInteger::instance()));
     $schema->registerField(new ARField('name', ARVarchar::instance(60)));
 }
开发者ID:saiber,项目名称:www,代码行数:7,代码来源:SerializeTest.php


示例3: defineSchema

 public static function defineSchema($className = __CLASS__)
 {
     $schema = self::getSchemaInstance($className);
     $schema->setName("Role");
     $schema->registerField(new ARPrimaryKeyField("ID", ARInteger::instance(10)));
     $schema->registerField(new ARField("name", ARText::instance(150)));
 }
开发者ID:saiber,项目名称:livecart,代码行数:7,代码来源:Role.php


示例4: defineSchema

 /**
  * Define database schema for Category model
  *
  * @param string $className Schema name
  */
 public static function defineSchema($className = __CLASS__)
 {
     $schema = self::getSchemaInstance($className);
     $schema->setName($className);
     parent::defineSchema($className);
     $schema->registerField(new ARField("isEnabled", ARBool::instance()));
     $schema->registerField(new ARField("isAnyRecord", ARBool::instance()));
     $schema->registerField(new ARField("isAllSubconditions", ARBool::instance()));
     $schema->registerField(new ARField("isActionCondition", ARBool::instance()));
     $schema->registerField(new ARField("isFinal", ARBool::instance()));
     $schema->registerField(new ARField("isReverse", ARBool::instance()));
     $schema->registerField(new ARField("conditionClass", ARVarchar::instance(80)));
     $schema->registerField(new ARField("recordCount", ARInteger::instance()));
     $schema->registerField(new ARField("validFrom", ARDateTime::instance()));
     $schema->registerField(new ARField("validTo", ARDateTime::instance()));
     $schema->registerField(new ARField("subTotal", ARInteger::instance()));
     $schema->registerField(new ARField("count", ARInteger::instance()));
     $schema->registerField(new ARField("comparisonType", ARInteger::instance()));
     $schema->registerField(new ARField("position", ARInteger::instance()));
     $schema->registerField(new ARField("name", ARArray::instance()));
     $schema->registerField(new ARField("description", ARArray::instance()));
     $schema->registerField(new ARField("couponCode", ARVarchar::instance(100)));
     $schema->registerField(new ARField("couponLimitCount", ARInteger::instance()));
     $schema->registerField(new ARField("couponLimitType", ARInteger::instance()));
     $schema->registerField(new ARField("serializedCondition", ARText::instance()));
 }
开发者ID:saiber,项目名称:livecart,代码行数:31,代码来源:DiscountCondition.php


示例5: defineSchema

 public static function defineSchema($className = __CLASS__)
 {
     $schema = self::getSchemaInstance($className);
     $schema->setName($className);
     $schema->registerField(new ARPrimaryForeignKeyField('categoryID', 'Category', 'ID', 'Category', ARInteger::instance()));
     $schema->registerField(new ARPrimaryForeignKeyField('productID', 'Product', 'ID', 'Product', ARInteger::instance()));
 }
开发者ID:saiber,项目名称:livecart,代码行数:7,代码来源:ProductCategory.php


示例6: defineSchema

 public static function defineSchema($className = __CLASS__)
 {
     $schema = parent::defineSchema($className);
     $schema->setName("ProductRelationshipGroup");
     $schema->registerField(new ARField("name", ARArray::instance()));
     $schema->registerField(new ARField("type", ARInteger::instance()));
 }
开发者ID:saiber,项目名称:www,代码行数:7,代码来源:ProductRelationshipGroup.php


示例7: defineSchema

 /**
  * Define database schema used by this active record instance
  *
  * @param string $className Schema name
  */
 public static function defineSchema($className = __CLASS__)
 {
     $schema = self::getSchemaInstance($className);
     $schema->setName($className);
     $schema->registerField(new ARPrimaryKeyField("ID", ARInteger::instance()));
     $schema->registerField(new ARForeignKeyField("parentTransactionID", "Transaction", "ID", "Transaction", ARInteger::instance()));
     $schema->registerField(new ARForeignKeyField("orderID", "CustomerOrder", "ID", "CustomerOrder", ARInteger::instance()));
     $schema->registerField(new ARForeignKeyField("currencyID", "currency", "ID", 'Currency', ARChar::instance(3)));
     $schema->registerField(new ARForeignKeyField("realCurrencyID", "realCurrency", "ID", 'Currency', ARChar::instance(3)));
     $schema->registerField(new ARForeignKeyField("userID", "user", "ID", 'User', ARInteger::instance()));
     $schema->registerField(new ARForeignKeyField("eavObjectID", "eavObject", "ID", 'EavObject', ARInteger::instance()), false);
     $schema->registerField(new ARField("amount", ARFloat::instance()));
     $schema->registerField(new ARField("realAmount", ARFloat::instance()));
     $schema->registerField(new ARField("time", ARDateTime::instance()));
     $schema->registerField(new ARField("method", ARVarchar::instance(40)));
     $schema->registerField(new ARField("gatewayTransactionID", ARVarchar::instance(40)));
     $schema->registerField(new ARField("type", ARInteger::instance()));
     $schema->registerField(new ARField("methodType", ARInteger::instance()));
     $schema->registerField(new ARField("isCompleted", ARBool::instance()));
     $schema->registerField(new ARField("isVoided", ARBool::instance()));
     $schema->registerField(new ARField("ccExpiryYear", ARInteger::instance()));
     $schema->registerField(new ARField("ccExpiryMonth", ARInteger::instance()));
     $schema->registerField(new ARField("ccLastDigits", ARVarchar::instance(40)));
     $schema->registerField(new ARField("ccType", ARVarchar::instance(40)));
     $schema->registerField(new ARField("ccName", ARVarchar::instance(100)));
     $schema->registerField(new ARField("ccCVV", ARVarchar::instance(80)));
     $schema->registerField(new ARField("comment", ARText::instance()));
     $schema->registerField(new ARField("serializedData", ARText::instance()));
 }
开发者ID:saiber,项目名称:www,代码行数:34,代码来源:Transaction.php


示例8: defineSchema

 public static function defineSchema($className = __CLASS__)
 {
     $schema = self::getSchemaInstance($className);
     $schema->setName("DeliveryZoneCityMask");
     $schema->registerField(new ARPrimaryKeyField("ID", ARInteger::instance()));
     $schema->registerField(new ARForeignKeyField("deliveryZoneID", "DeliveryZone", "ID", "DeliveryZone", ARInteger::instance()));
     $schema->registerField(new ARField("mask", ARChar::instance(60)));
 }
开发者ID:saiber,项目名称:www,代码行数:8,代码来源:DeliveryZoneCityMask.php


示例9: defineSchema

 public static function defineSchema($className)
 {
     $schema = self::getSchemaInstance($className);
     $schema->setName($className);
     $schema->registerField(new ARPrimaryForeignKeyField(call_user_func(array($className, 'getOwnerIDColumnName')), call_user_func(array($className, 'getOwnerClass')), "ID", null, ARInteger::instance()));
     $schema->registerField(new ARPrimaryForeignKeyField(call_user_func(array($className, 'getFieldIDColumnName')), call_user_func(array($className, 'getFieldClass')), "ID", null, ARInteger::instance()));
     return $schema;
 }
开发者ID:saiber,项目名称:livecart,代码行数:8,代码来源:EavValueSpecificationCommon.php


示例10: defineSchema

 public static function defineSchema($className = __CLASS__)
 {
     $schema = self::getSchemaInstance($className);
     $schema->setName($className);
     $schema->registerField(new ARPrimaryKeyField("ID", ARInteger::instance()));
     $schema->registerField(new ARField("name", ARArray::instance()));
     $schema->registerField(new ARField("position", ARInteger::instance(2)));
 }
开发者ID:saiber,项目名称:www,代码行数:8,代码来源:TaxClass.php


示例11: defineSchema

 public static function defineSchema($className = __CLASS__)
 {
     $schema = self::getSchemaInstance($className);
     $schema->setName("AccessControlAssociation");
     $schema->registerField(new ARPrimaryKeyField("ID", ARInteger::instance()));
     $schema->registerField(new ARForeignKeyField("roleID", "Role", "ID", "Role", ARInteger::instance()));
     $schema->registerField(new ARForeignKeyField("userGroupID", "UserGroup", "ID", "UserGroup", ARInteger::instance()));
 }
开发者ID:saiber,项目名称:livecart,代码行数:8,代码来源:AccessControlAssociation.php


示例12: defineSchema

 /**
  * Define database schema
  */
 public static function defineSchema($className)
 {
     $schema = self::getSchemaInstance($className);
     $schema->setName($className);
     $schema->registerField(new ARPrimaryKeyField("ID", ARInteger::instance()));
     $schema->registerField(new ARForeignKeyField("userID", "user", "ID", 'User', ARInteger::instance()));
     $schema->registerField(new ARForeignKeyField("userAddressID", "userAddress", "ID", 'UserAddress', ARInteger::instance()));
 }
开发者ID:saiber,项目名称:livecart,代码行数:11,代码来源:UserAddressType.php


示例13: defineSchema

 public static function defineSchema($className = __CLASS__)
 {
     $schema = self::getSchemaInstance($className);
     $schema->setName($className);
     $schema->registerField(new ARPrimaryKeyField("ID", ARInteger::instance()));
     $schema->registerField(new ARForeignKeyField("productID", "Product", "ID", null, ARInteger::instance()));
     $schema->registerField(new ARForeignKeyField("variationID", "ProductVariation", "ID", null, ARInteger::instance()));
 }
开发者ID:saiber,项目名称:livecart,代码行数:8,代码来源:ProductVariationValue.php


示例14: defineSchema

 public static function defineSchema($className = __CLASS__)
 {
     $schema = self::getSchemaInstance($className);
     $schema->setName("UserGroup");
     $schema->registerField(new ARPrimaryKeyField("ID", ARInteger::instance()));
     $schema->registerField(new ARForeignKeyField("eavObjectID", "eavObject", "ID", 'EavObject', ARInteger::instance()), false);
     $schema->registerField(new ARField("name", ARVarchar::instance(60)));
     $schema->registerField(new ARField("description", ARVarchar::instance(100)));
 }
开发者ID:saiber,项目名称:livecart,代码行数:9,代码来源:UserGroup.php


示例15: defineSchema

 /**
  * Define database schema used by this active record instance
  *
  * @param string $className Schema name
  */
 public static function defineSchema($className = __CLASS__)
 {
     $schema = self::getSchemaInstance($className);
     $schema->setName($className);
     $schema->registerField(new ARPrimaryKeyField("ID", ARInteger::instance()));
     $schema->registerField(new ARForeignKeyField("orderID", "CustomerOrder", "ID", "CustomerOrder", ARInteger::instance()));
     $schema->registerField(new ARForeignKeyField("discountConditionID", "DiscountCondition", "ID", "DiscountCondition", ARInteger::instance()));
     $schema->registerField(new ARField("couponCode", ARVarchar::instance(255)));
 }
开发者ID:saiber,项目名称:livecart,代码行数:14,代码来源:OrderCoupon.php


示例16: defineSchema

 /**
  * Define database schema used by this active record instance
  *
  * @param string $className Schema name
  */
 public static function defineSchema($className = __CLASS__)
 {
     $schema = self::getSchemaInstance($className);
     $schema->setName($className);
     $schema->registerField(new ARPrimaryKeyField("ID", ARInteger::instance()));
     $schema->registerField(new ARForeignKeyField("orderID", "CustomerOrder", "ID", "CustomerOrder", ARInteger::instance()));
     $schema->registerField(new ARField("amount", ARFloat::instance()));
     $schema->registerField(new ARField("description", ARText::instance()));
 }
开发者ID:saiber,项目名称:livecart,代码行数:14,代码来源:OrderDiscount.php


示例17: defineSchema

 /**
  * Languages schema definition
  * @param string $className
  * @todo code must be Unique
  */
 public static function defineSchema($className = __CLASS__)
 {
     $schema = self::getSchemaInstance($className);
     $schema->setName("Language");
     $schema->registerField(new ARPrimaryKeyField("ID", ARChar::instance(2)));
     $schema->registerField(new ARField("isEnabled", ARBool::instance()));
     $schema->registerField(new ARField("isDefault", ARBool::instance()));
     $schema->registerField(new ARField("position", ARInteger::instance()));
 }
开发者ID:saiber,项目名称:livecart,代码行数:14,代码来源:Language.php


示例18: defineSchema

 public static function defineSchema($className = __CLASS__)
 {
     $schema = self::getSchemaInstance($className);
     $schema->setName(__CLASS__);
     $schema->registerField(new ARPrimaryKeyField("ID", ARInteger::instance()));
     $schema->registerField(new ARForeignKeyField("categoryID", "Category", "ID", null, ARInteger::instance()));
     $schema->registerField(new ARForeignKeyField("storeID", "ClonedStore", "ID", null, ARInteger::instance()));
     $schema->registerField(new ARField("lastModifiedTime", ARDateTime::instance()));
 }
开发者ID:saiber,项目名称:www,代码行数:9,代码来源:ClonedStoreCategory.php


示例19: defineSchema

 public static function defineSchema($className = __CLASS__)
 {
     $schema = self::getSchemaInstance($className);
     $schema->setName(__CLASS__);
     $schema->registerField(new ARPrimaryKeyField("ID", ARInteger::instance()));
     $schema->registerField(new ARField("domain", ARVarchar::instance(100)));
     $schema->registerField(new ARField("apiKey", ARVarchar::instance(100)));
     $schema->registerField(new ARField("lastImport", ARDateTime::instance()));
 }
开发者ID:saiber,项目名称:www,代码行数:9,代码来源:ClonedStore.php


示例20: defineSchema

 public static function defineSchema($className = __CLASS__)
 {
     $schema = self::getSchemaInstance($className);
     $schema->setName("UserApnToken");
     $schema->registerField(new ARPrimaryKeyField("ID", ARInteger::instance()));
     $schema->registerField(new ARField("userID", ARInteger::instance()));
     $schema->registerField(new ARField("token", ARVarchar::instance(256)));
     $schema->registerField(new ARField("dateCreated", ARDateTime::instance()));
 }
开发者ID:saiber,项目名称:www,代码行数:9,代码来源:UserApnToken.php



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


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
PHP ARSelectFilter类代码示例发布时间:2022-05-23
下一篇:
PHP ARE类代码示例发布时间:2022-05-23
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap