Generates a SELECT html tag using a static array of values or a Phalcon\Mvc\Model resultset
Methods
public static selectField (array $parameters, [array $data])
Generates a SELECT tag
private static _optionsFromResultset (Phalcon\Mvc\Model\Resultset $resultset, array $using, mixed $value, string $closeOption)
Generate the OPTION tags based on a resultset
private static _optionsFromArray (array $data, mixed $value, string $closeOption)
Generate the OPTION tags based on an array
Please login to continue.