attributeLabels() public method

public attributeLabels ( ) : array
return array customized attribute labels (name=>label)
Beispiel #1
0
 /**
  * @covers ElementType::attributeLabels
  */
 public function testAttributeLabels()
 {
     $expected = array('id' => 'ID', 'name' => 'Name', 'class_name' => 'Class Name');
     $this->assertEquals($expected, $this->model->attributeLabels());
 }