I have three views that are derived from the same model. But the labels are displayed differently in each form. can I pass a parameter into the attributeLabel function so that I can return an array of labels depending on which view is selected.
the labels in viewAuthor.php
Author Name
Author location
the labels in viewPublisher.php
Publisher Name
Publisher location
the labels in viewVendor.php
Vendor Name
Vendor location
the data from all the views are stored in the same table having two fields Name and Location.