ProductToCategory::attributeLabels PHP Method

attributeLabels() public method

public attributeLabels ( ) : array
return array customized attribute labels (name=>label)
    public function attributeLabels()
    {
        return array('product_id' => 'Product', 'category_id' => 'Category');
    }