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


PHP ActiveRecordHelper::className方法代码示例

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


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

示例1: behaviors

 /**
  * @inheritdoc
  */
 public function behaviors()
 {
     return [['class' => HasProperties::className()], ['class' => ActiveRecordHelper::className()], ['class' => CleanRelations::className()], ['class' => Tree::className(), 'activeAttribute' => 'published']];
 }
开发者ID:solovjov,项目名称:dotplant2,代码行数:7,代码来源:Page.php

示例2: behaviors

 /**
  * @inheritdoc
  */
 public function behaviors()
 {
     return [['class' => \voskobovich\behaviors\ManyToManyBehavior::className(), 'relations' => ['users_list' => 'users', 'statuses_list' => 'orderStatuses', 'order_template' => 'orderTemplate']], ['class' => ActiveRecordHelper::className(), 'cache' => 'cache']];
 }
开发者ID:sap55,项目名称:yii2-order-management,代码行数:7,代码来源:Store.php

示例3: behaviors

 public function behaviors()
 {
     return [['class' => Tree::className(), 'cascadeDeleting' => true], ['class' => ActiveRecordHelper::className()]];
 }
开发者ID:ar7n,项目名称:dotplant2,代码行数:4,代码来源:OrderItem.php

示例4: behaviors

 /**
  * @inheritdoc
  */
 public function behaviors()
 {
     return [['class' => TimestampBehavior::className(), 'createdAtAttribute' => 'create_time', 'updatedAtAttribute' => 'update_time'], ['class' => \devgroup\TagDependencyHelper\ActiveRecordHelper::className()], ['class' => HasProperties::className()]];
 }
开发者ID:phisic,项目名称:dotplant2,代码行数:7,代码来源:User.php

示例5: behaviors

 public function behaviors()
 {
     return [['class' => HasProperties::className()], ['class' => \devgroup\TagDependencyHelper\ActiveRecordHelper::className()], ['class' => CleanRelations::className()], ['class' => Tree::className(), 'activeAttribute' => 'active', 'sortOrder' => ['sort_order' => SORT_ASC, 'id' => SORT_ASC]]];
 }
开发者ID:Razzwan,项目名称:dotplant2,代码行数:4,代码来源:Category.php

示例6: behaviors

 public function behaviors()
 {
     return [['class' => HasProperties::className()], ['class' => ActiveRecordHelper::className()], ['class' => CleanRelations::className()], ['class' => Tree::className()]];
 }
开发者ID:heartshare,项目名称:dotplant2,代码行数:4,代码来源:Page.php

示例7: behaviors

 public function behaviors()
 {
     return [['class' => \devgroup\TagDependencyHelper\ActiveRecordHelper::className()], ['class' => Tree::className(), 'sortOrder' => 'sort_order ASC']];
 }
开发者ID:heartshare,项目名称:dotplant2,代码行数:4,代码来源:Navigation.php

示例8: behaviors

 /**
  * @inheritdoc
  */
 public function behaviors()
 {
     return [['class' => HasProperties::className()], ['class' => ActiveRecordHelper::className()], ['class' => CleanRelations::className()], ['class' => Tree::className(), 'activeAttribute' => 'published', 'sortOrder' => ['sort_order' => SORT_ASC, 'id' => SORT_ASC]], ['class' => TimestampBehavior::className(), 'createdAtAttribute' => 'date_added', 'updatedAtAttribute' => 'date_modified', 'value' => new Expression('NOW()'), 'attributes' => [ActiveRecord::EVENT_BEFORE_INSERT => ['date_added'], ActiveRecord::EVENT_BEFORE_UPDATE => ['date_modified']]]];
 }
开发者ID:flarmn,项目名称:dotplant2,代码行数:7,代码来源:Page.php

示例9: behaviors

 /**
  * @inheritdoc
  */
 public function behaviors()
 {
     return [['class' => Tree::className(), 'activeAttribute' => 'active'], ['class' => HasProperties::className()], ['class' => \devgroup\TagDependencyHelper\ActiveRecordHelper::className()], ['class' => CleanRelations::className()]];
 }
开发者ID:solovjov,项目名称:dotplant2,代码行数:7,代码来源:Product.php

示例10: behaviors

 /**
  * @inheritdoc
  */
 public function behaviors()
 {
     return [['class' => HasProperties::className()], ['class' => ActiveRecordHelper::className()], ['class' => CleanRelations::className()], ['class' => Tree::className(), 'activeAttribute' => 'published', 'sortOrder' => ['sort_order' => SORT_ASC, 'id' => SORT_ASC]]];
 }
开发者ID:Razzwan,项目名称:dotplant2,代码行数:7,代码来源:Page.php

示例11: behaviors

 /**
  * @inheritdoc
  */
 public function behaviors()
 {
     return ArrayHelper::merge(parent::behaviors(), ['class' => ActiveRecordHelper::className()]);
 }
开发者ID:hufeng903,项目名称:getyii,代码行数:7,代码来源:PostMeta.php

示例12: behaviors

 /**
  * @inheritdoc
  */
 public function behaviors()
 {
     return [['class' => AttributeBehavior::className(), 'attributes' => [ActiveRecord::EVENT_BEFORE_INSERT => 'sort_order'], 'value' => 0], ['class' => \devgroup\TagDependencyHelper\ActiveRecordHelper::className()]];
 }
开发者ID:heartshare,项目名称:dotplant2,代码行数:7,代码来源:PropertyGroup.php

示例13: behaviors

 /**
  * @inheritdoc
  */
 public function behaviors()
 {
     return [TimestampBehavior::className(), 'class' => ActiveRecordHelper::className()];
 }
开发者ID:hufeng903,项目名称:getyii,代码行数:7,代码来源:User.php

示例14: behaviors

 /**
  * @inheritdoc
  */
 public function behaviors()
 {
     return [['class' => ActiveRecordHelper::className()]];
 }
开发者ID:heartshare,项目名称:dotplant2,代码行数:7,代码来源:Events.php

示例15: behaviors

 /**
  * @inheritdoc
  */
 public function behaviors()
 {
     return [['class' => AttributeBehavior::className(), 'attributes' => [ActiveRecord::EVENT_BEFORE_INSERT => 'sort_order'], 'value' => 0], ['class' => ActiveRecordHelper::className()], ['class' => HasProperties::className()]];
 }
开发者ID:kronos777,项目名称:dotplant2,代码行数:7,代码来源:Property.php


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