示例#1
0
文件: News.php 项目: tqsq2005/Yii2adv
 /**
  * @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']);
 }
示例#2
0
 /**
  * @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')]);
 }
示例#3
0
 /**
  * @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')]);
 }
示例#4
0
 /**
  * @inheritdoc
  */
 public function attributeHints()
 {
     return array_merge(parent::attributeHints(), ['email_id' => Yii::t('d3pop3', 'Email'), 'message' => Yii::t('d3pop3', 'Message')]);
 }
示例#5
0
 /**
  * @inheritdoc
  */
 public function attributeHints()
 {
     return array_merge(parent::attributeHints(), ['id' => Yii::t('prototype', 'ID'), 'key' => Yii::t('prototype', 'Key'), 'value' => Yii::t('prototype', 'Value')]);
 }
示例#6
0
文件: File.php 项目: ICHydro/anaconda
 /**
  * @inheritdoc
  */
 public function attributeHints()
 {
     return array_merge(parent::attributeHints(), ['id' => Yii::t('file', 'ID'), 'filelink' => Yii::t('file', 'Filelink'), 'filename' => Yii::t('file', 'Filename'), 'extension' => Yii::t('file', 'Extension'), 'startdate' => Yii::t('file', 'Startdate'), 'enddate' => Yii::t('file', 'Enddate'), 'status' => Yii::t('file', 'Status'), 'sensorid' => Yii::t('file', 'Sensorid')]);
 }
示例#7
0
 /**
  * @inheritdoc
  */
 public function attributeHints()
 {
     return array_merge(parent::attributeHints(), ['address_type' => Yii::t('d3pop3', 'Address type'), 'email_address' => Yii::t('d3pop3', 'Email'), 'name' => Yii::t('d3pop3', 'Name')]);
 }
示例#8
0
 /**
  * @inheritdoc
  */
 public function attributeHints()
 {
     return array_merge(parent::attributeHints(), ['id' => Yii::t('catchment', 'ID'), 'name' => Yii::t('catchment', 'Name'), 'name_es' => Yii::t('catchment', 'Name Es'), 'name_ne' => Yii::t('catchment', 'Name Ne'), 'description' => Yii::t('catchment', 'Description'), 'description_es' => Yii::t('catchment', 'Description Es'), 'description_ne' => Yii::t('catchment', 'Description Ne')]);
 }
示例#9
0
 /**
  * @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')]);
 }
示例#10
0
 /**
  * @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')]);
 }