Simple HTML decorator for clouds

category Zend
package Zend_Tag
uses
copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
license New BSD License
inherited_from \Zend_Tag_Cloud_Decorator_Cloud

 Methods

Create a new cloud decorator with options

__construct(mixed $options = null
Inherited

Parameters

$options

mixed

Get encoding

getEncoding() : string

Returns

string

Retrieve HTML tag map

getHtmlTags() : array

Returns

array

Get tag separator

getSeparator() : string

Returns

string

Defined by Zend_Tag_Cloud_Decorator_Cloud

render(array $tags) : string
inherited_from \Zend_Tag_Cloud_Decorator_Cloud::render()

Parameters

$tags

array

Returns

string

Render a list of formatted tags

render(array $tags) : string
Inherited

Parameters

$tags

array

Returns

string

Set encoding

setEncoding($value) : \Zend_Tag_Cloud_Decorator_HtmlCloud

Parameters

$value

Returns

\Zend_Tag_Cloud_Decorator_HtmlCloud

Set the HTML tags surrounding all tags

setHtmlTags(array $htmlTags) : \Zend_Tag_Cloud_Decorator_HtmlCloud

Parameters

$htmlTags

array

Returns

\Zend_Tag_Cloud_Decorator_HtmlCloud

Set options from array

setOptions(array $options) : \Zend_Tag_Cloud
Inherited

Parameters

$options

array

Configuration for the decorator

Returns

\Zend_Tag_Cloud

Set the separator between the single tags

setSeparator($separator) : \Zend_Tag_Cloud_Decorator_HtmlCloud

Parameters

$separator

Returns

\Zend_Tag_Cloud_Decorator_HtmlCloud

 Properties

 

Encoding to use

$_encoding : string

Default

'UTF-8'
 

List of HTML tags

$_htmlTags : array

Default

array('ul' => array('class' => 'Zend_Tag_Cloud'))
 

Separator for the single tags

$_separator : string

Default

' '
 

Option keys to skip when calling setOptions()

$_skipOptions : array

Default

array('options', 'config')