內容目录

上一个主题

< Class Phalcon\Tag\Exception

下一个主题

Abstract class Phalcon\Text >

Phalcon玩家群:150237524Phalcon玩家

Abstract class Phalcon\Tag\Select

Source on GitHub

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