EpisodeStatus::attributeLabels PHP 메소드

attributeLabels() 공개 메소드

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

Usage Example

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