ObjectChoiceList deprecated
ObjectChoiceList deprecated
class ObjectChoiceList extends ChoiceList
deprecated
A choice list for object choices.
Supports generation of choice labels, choice groups and choice values by calling getters of the object (or associated objects).
$choices = array($user1, $user2);
// call getName() to determine the choice labels $choiceList = new ObjectChoiceList($choices, 'name');
Methods
|