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


PHP ActiveRecord::attributeHints方法代码示例

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


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

示例1: attributeHints

 /**
  * @inheritdoc
  */
 public function attributeHints()
 {
     return array_merge(parent::attributeHints(), ['id' => 'ID', 'title' => '标题', 'content' => '内容', 'created_at' => 'Created At', 'updated_at' => 'Updated At', 'created_by' => 'Created By', 'updated_by' => 'Updated By']);
 }
开发者ID:tqsq2005,项目名称:Yii2adv,代码行数:7,代码来源:News.php

示例2: attributeHints

 /**
  * @inheritdoc
  */
 public function attributeHints()
 {
     return array_merge(parent::attributeHints(), ['email_id' => Yii::t('d3pop3', 'Email Id'), 'receive_datetime' => Yii::t('d3pop3', 'Received'), 'subject' => Yii::t('d3pop3', 'Subject'), 'body' => Yii::t('d3pop3', 'Body'), 'body_plain' => Yii::t('d3pop3', 'Body Plain'), 'from' => Yii::t('d3pop3', 'From'), 'from_name' => Yii::t('d3pop3', 'From Name'), 'email_container_class' => Yii::t('d3pop3', 'Email Container')]);
 }
开发者ID:d3yii2,项目名称:d3pop3,代码行数:7,代码来源:D3pop3Email.php

示例3: attributeHints

 /**
  * @inheritdoc
  */
 public function attributeHints()
 {
     return array_merge(parent::attributeHints(), ['id' => Yii::t('calibration', 'ID'), 'datetime' => Yii::t('calibration', 'Datetime'), 'height' => Yii::t('calibration', 'Height'), 'measure' => Yii::t('calibration', 'Measure'), 'sensorid' => Yii::t('calibration', 'Sensorid'), 'yourname' => Yii::t('calibration', 'Yourname'), 'youremail' => Yii::t('calibration', 'Youremail')]);
 }
开发者ID:ICHydro,项目名称:anaconda,代码行数:7,代码来源:Calibration.php

示例4: attributeHints

 /**
  * @inheritdoc
  */
 public function attributeHints()
 {
     return array_merge(parent::attributeHints(), ['email_id' => Yii::t('d3pop3', 'Email'), 'message' => Yii::t('d3pop3', 'Message')]);
 }
开发者ID:d3yii2,项目名称:d3pop3,代码行数:7,代码来源:D3pop3EmailError.php

示例5: attributeHints

 /**
  * @inheritdoc
  */
 public function attributeHints()
 {
     return array_merge(parent::attributeHints(), ['id' => Yii::t('prototype', 'ID'), 'key' => Yii::t('prototype', 'Key'), 'value' => Yii::t('prototype', 'Value')]);
 }
开发者ID:dmstr,项目名称:yii2-prototype-module,代码行数:7,代码来源:Twig.php

示例6: attributeHints

 /**
  * @inheritdoc
  */
 public function attributeHints()
 {
     return array_merge(parent::attributeHints(), ['id' => Yii::t('sensor', 'ID'), 'name' => Yii::t('sensor', 'Name'), 'catchmentid' => Yii::t('sensor', 'Catchmentid'), 'latitude' => Yii::t('sensor', 'Latitude'), 'longitude' => Yii::t('sensor', 'Longitude'), 'sensortype' => Yii::t('sensor', 'Sensortype'), 'units' => Yii::t('sensor', 'Units'), 'height' => Yii::t('sensor', 'Height'), 'width' => Yii::t('sensor', 'Width'), 'angle' => Yii::t('sensor', 'Angle'), 'property' => Yii::t('sensor', 'Property'), 'admin_email' => Yii::t('sensor', 'Admin Email')]);
 }
开发者ID:ICHydro,项目名称:anaconda,代码行数:7,代码来源:Sensor.php

示例7: attributeHints

 /**
  * @inheritdoc
  */
 public function attributeHints()
 {
     return array_merge(parent::attributeHints(), ['email_id' => Yii::t('d3pop3', 'Email'), 'model_name' => Yii::t('d3pop3', 'Model'), 'model_id' => Yii::t('d3pop3', 'Model ID'), 'status' => Yii::t('d3pop3', 'Status')]);
 }
开发者ID:d3yii2,项目名称:d3pop3,代码行数:7,代码来源:D3pop3EmailModel.php


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