Tag/Cloud/Decorator/HtmlCloud.php
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-2012 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Package
- Zend_Tag
- Subpackage
- Cloud
- Version
- $Id: HtmlCloud.php 24593 2012-01-05 20:35:02Z matthew $
\Zend_Tag_Cloud_Decorator_HtmlCloud
Package: Zend\Tag







Simple HTML decorator for clouds
- Parent(s)
- \Zend_Tag_Cloud_Decorator_Cloud
- Category
- Zend
- Copyright
- Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Uses
- \global\Zend_Tag_Cloud_Decorator_Cloud
Properties


array $_htmlTags = array('ul' => array('class' => 'Zend_Tag_Cloud'))
List of HTML tags
Default value
array('ul' => array('class' => 'Zend_Tag_Cloud'))
Details- Type
- array


array $_skipOptions = array('options', 'config')
inherited
Option keys to skip when calling setOptions()
Inherited from:
\Zend_Tag_Cloud_Decorator_Cloud::$$_skipOptionsDefault value
array('options', 'config')
Details- Type
- array
- Inherited_from
- \Zend_Tag_Cloud_Decorator_Cloud::$$_skipOptions
Methods


__construct(mixed $options = null) : void
inherited
Create a new cloud decorator with options
Inherited from: \Zend_Tag_Cloud_Decorator_Cloud::__construct()Parameters
Name | Type | Description |
---|---|---|
$options | mixed |


render(array $tags) : string
Defined by Zend_Tag_Cloud_Decorator_Cloud
Parameters
Returns
Name | Type | Description |
---|---|---|
$tags | array |
Type | Description |
---|---|
string |


setEncoding(string $value) : \Zend_Tag_Cloud_Decorator_HtmlCloud
Set encoding
Parameters
Returns
Name | Type | Description |
---|---|---|
$value | string |
Type | Description |
---|---|
\Zend_Tag_Cloud_Decorator_HtmlCloud |


setHtmlTags(array $htmlTags) : \Zend_Tag_Cloud_Decorator_HtmlCloud
Set the HTML tags surrounding all tags
Parameters
Returns
Name | Type | Description |
---|---|---|
$htmlTags | array |
Type | Description |
---|---|
\Zend_Tag_Cloud_Decorator_HtmlCloud |


setOptions(array $options) : \Zend_Tag_Cloud
Parameters
Returns
Name | Type | Description |
---|---|---|
$options | array | Configuration for the decorator |
Type | Description |
---|---|
\Zend_Tag_Cloud |


setSeparator(string $separator) : \Zend_Tag_Cloud_Decorator_HtmlCloud
Set the separator between the single tags
Parameters
Returns
Name | Type | Description |
---|---|---|
$separator | string |
Type | Description |
---|---|
\Zend_Tag_Cloud_Decorator_HtmlCloud |