API Documentation

Zend/Tag/Cloud/Decorator/HtmlCloud.php

Show: inherited
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-2012 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  
Package
Zend_Tag  
Subpackage
Cloud  
Version
$Id: HtmlCloud.php 24594 2012-01-05 21:27:01Z 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
\Zend_Tag_Cloud_Decorator_Cloud  

Properties

Propertyprotectedstring  $_encoding= ''UTF-8''

Encoding to use
Default value'UTF-8'Details
Type
string
Propertyprotectedarray  $_htmlTags= 'array( 'ul' => array('class' => 'Zend_Tag_Cloud') )'

List of HTML tags

Default valuearray( 'ul' => array('class' => 'Zend_Tag_Cloud') )Details
Type
array
Propertyprotectedstring  $_separator= '' ''

Separator for the single tags

Default value' 'Details
Type
string

Methods

methodpublicgetEncoding( ) : string

Get encoding

Returns
Type Description
string
methodpublicgetHtmlTags( ) : array

Retrieve HTML tag map

Returns
Type Description
array
methodpublicgetSeparator( ) : string

Get tag separator

Returns
Type Description
string
methodpublicrender( array $tags ) : string

Defined by Zend_Tag_Cloud_Decorator_Cloud

Parameters
Name Type Description
$tags array
Returns
Type Description
string
methodpublicsetEncoding(  $value ) : \Zend_Tag_Cloud_Decorator_HtmlCloud

Set encoding

Parameters
Name Type Description
$value

string

Returns
Type Description
\Zend_Tag_Cloud_Decorator_HtmlCloud
methodpublicsetHtmlTags( array $htmlTags ) : \Zend_Tag_Cloud_Decorator_HtmlCloud

Set the HTML tags surrounding all tags

Parameters
Name Type Description
$htmlTags array
Returns
Type Description
\Zend_Tag_Cloud_Decorator_HtmlCloud
methodpublicsetSeparator(  $separator ) : \Zend_Tag_Cloud_Decorator_HtmlCloud

Set the separator between the single tags

Parameters
Name Type Description
$separator

string

Returns
Type Description
\Zend_Tag_Cloud_Decorator_HtmlCloud
Documentation was generated by DocBlox 0.15.1.