Use the getAttributeLabel() method (available since v1.1.4)
Code Example:
Products::model()->getAttributeLabel('brand_id')
The above example gets the attribute label for the brand_id attribute in the model Products.
Use the getAttributeLabel() method (available since v1.1.4)
Code Example:
Products::model()->getAttributeLabel('brand_id')
The above example gets the attribute label for the brand_id attribute in the model Products.