attributeLabels() public method

public attributeLabels ( ) : array
return array customized attribute labels (name=>label)
Ejemplo n.º 1
0
 /**
  * @covers Episode::attributeLabels
  */
 public function testAttributeLabels()
 {
     $expected = array('id' => 'ID', 'patient_id' => 'Patient', 'firm_id' => 'Firm', 'start_date' => 'Start Date', 'end_date' => 'End Date', 'episode_status_id' => 'Current Status');
     $this->assertEquals($expected, $this->model->attributeLabels());
 }