本文整理汇总了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']);
}
示例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')]);
}
示例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')]);
}
示例4: attributeHints
/**
* @inheritdoc
*/
public function attributeHints()
{
return array_merge(parent::attributeHints(), ['email_id' => Yii::t('d3pop3', 'Email'), 'message' => Yii::t('d3pop3', 'Message')]);
}
示例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')]);
}
示例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')]);
}
示例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')]);
}