Markup/Renderer/Html.php

Show: PublicProtectedPrivateinherited
Table of Contents
Zend Framework
LICENSE This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.
Category
Zend  
Copyright
Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  
Package
Zend_Markup  
Subpackage
Renderer  
Version
$Id$  

\Zend_Markup_Renderer_Html

Package: Zend_Markup\Renderer
HTML renderer
Parent(s)
\Zend_Markup_Renderer_RendererAbstract
Category
Zend  
Copyright
Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  

Properties

>VPropertyprotectedarray $_defaultAttributes = array('id' => '', 'class' => '', 'style' => '', 'lang' => '', 'title' => '')
static
Default attributes
Default valuearray('id' => '', 'class' => '', 'style' => '', 'lang' => '', 'title' => '')Details
Type
array
>VPropertyprotectedstring $_group = 'block'
The current group
Default value'block'Details
Type
string
>VPropertyprotectedarray $_groups = array('block' => array('block', 'inline', 'block-empty', 'inline-empty', 'list'), 'inline' => array('inline', 'inline-empty'), 'list' => array('list-item'), 'list-item' => array('inline', 'inline-empty', 'list'), 'block-empty' => array(), 'inline-empty' => array())
Element groups
Default valuearray('block' => array('block', 'inline', 'block-empty', 'inline-empty', 'list'), 'inline' => array('inline', 'inline-empty'), 'list' => array('list-item'), 'list-item' => array('inline', 'inline-empty', 'list'), 'block-empty' => array(), 'inline-empty' => array())Details
Type
array

Methods

methodpublic__construct(array | \Zend_Config $options = array()) : void

Constructor

Parameters
NameTypeDescription
$optionsarray | \Zend_Config
methodprotected_defineDefaultMarkups() : void

Define the default markups

methodprotected_executeReplace(\Zend_Markup_Token $token, array $markup) : string

Execute a replace token

Parameters
NameTypeDescription
$token\Zend_Markup_Token
$markuparray
Returns
TypeDescription
string
methodprotected_executeSingleReplace(\Zend_Markup_Token $token, array $markup) : string

Execute a single replace token

Parameters
NameTypeDescription
$token\Zend_Markup_Token
$markuparray
Returns
TypeDescription
string
methodpublicaddDefaultFilters() : void

Add the default filters

methodpubliccheckColor(string $color) : bool
static

Check if a color is a valid HTML color

Parameters
NameTypeDescription
$colorstring
Returns
TypeDescription
bool
methodpublicisValidUri(string $uri) : bool
static

Check if the URI is valid

Parameters
NameTypeDescription
$uristring
Returns
TypeDescription
bool
methodpublicrenderAttributes(\Zend_Markup_Token $token, array $attributes = array()) : string
static

Render some attributes

Parameters
NameTypeDescription
$token\Zend_Markup_Token
$attributesarray
Returns
TypeDescription
string
Documentation was generated by phpDocumentor 2.2.0 .