public attributeLabels ( ) : array | ||
리턴 | array | customized attribute labels (name=>label) |
public function attributeLabels()
{
return array('id' => 'ID', 'name' => 'Name', 'code' => 'Code', 'active' => 'Active', 'require_comments' => 'Comments allowed');
}