class ModelChoiceList extends ObjectChoiceList
A choice list for object choices based on Propel model.
Methods
__construct(string $class, string $labelPath = null, array|Traversable $choices = null, ModelCriteria $queryObject = null, string $groupPath = null, array|ModelCriteria $preferred = array(), PropertyAccessorInterface $propertyAccessor = null, string $useAsIdentifier = null) Constructor.
array getChoices() Returns the list of choices
array getValues() Returns the values