EpisodeStatus::attributeLabels PHP Méthode

attributeLabels() public méthode

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

Usage Example

 /**
  * @covers EpisodeStatus::attributeLabels
  */
 public function testAttributeLabels()
 {
     $expected = array('id' => 'ID', 'name' => 'Name', 'order' => 'Order');
     $this->assertEquals($expected, $this->model->attributeLabels());
 }