PHP Class luya\base\DynamicModel

Additional Dynamic Model to provide attribute labels.
Since: 1.0.0-beta6
Author: Basil Suter ([email protected])
Inheritance: extends yii\base\DynamicModel
显示文件 Open project: luyadev/luya Class Usage Examples

Public Properties

Property Type Description
$attributeLabels Assignable attributes by array where key is the label key value the label for the key.

Public Methods

Method Description
attributeLabels ( ) : array In addition to the attributeLabels() values can also be be passed by propertie and run trough Yii::t process.

Method Details

attributeLabels() public method

{@inheritDoc}
See also: yii\base\Model::attributeLabels()
public attributeLabels ( ) : array
return array

Property Details

$attributeLabels public_oe property

Assignable attributes by array where key is the label key value the label for the key.
public $attributeLabels