Sections

Class Phalcon\Tag

Исходный код на GitHub

Namespace Phalcon   Uses Phalcon\Escaper\EscaperInterface, Phalcon\Tag\Select, Phalcon\Tag\Exception, Phalcon\UrlInterface

Phalcon\Tag is designed to simplify building of HTML tags. It provides a set of helpers to generate HTML in a dynamic way. This component is a class that you can extend to add more helpers.

Константы

const HTML32 = 1;
const HTML401_FRAMESET = 4;
const HTML401_STRICT = 2;
const HTML401_TRANSITIONAL = 3;
const HTML5 = 5;
const XHTML10_FRAMESET = 8;
const XHTML10_STRICT = 6;
const XHTML10_TRANSITIONAL = 7;
const XHTML11 = 9;
const XHTML20 = 10;
const XHTML5 = 11;

Properties

//
protected static autoEscape = true;

/**
 * Framework Dispatcher
 */
protected static container;

/**
 * Pre-assigned values for components
 */
protected static displayValues;

//
protected static dispatcherService;

//
protected static documentAppendTitle;

//
protected static documentPrependTitle;

/**
 * HTML document title
 */
protected static documentTitle;

//
protected static documentTitleSeparator;

//
protected static documentType = 11;

//
protected static escaperService;

//
protected static urlService;

Методы

static final protected function inputField( string $type, mixed $parameters, bool $asValue = bool ): string;

Builds generic INPUT tags

@param array parameters

static final protected function inputFieldChecked( string $type, mixed $parameters ): string;

Builds INPUT tags that implements the checked attribute

@param array parameters

Class Phalcon\Tag\Exception

Исходный код на GitHub

Namespace Phalcon\Tag   Extends \Phalcon\Exception

Phalcon\Tag\Exception

Exceptions thrown in Phalcon\Tag will use this class

Abstract Class Phalcon\Tag\Select

Исходный код на GitHub

Namespace Phalcon\Tag   Uses Phalcon\Tag\Exception, Phalcon\Tag, Phalcon\Escaper\EscaperInterface, Phalcon\Mvc\Model\ResulsetInterface

Phalcon\Tag\Select

Generates a SELECT html tag using a static array of values or a Phalcon\Mvc\Model resultset