Tag::attributeLabels PHP Méthode

attributeLabels() public méthode

public attributeLabels ( ) : array
Résultat array customized attribute labels (name=>label)
    public function attributeLabels()
    {
        return ['id' => 'ID', 'name' => 'Name'];
    }