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.
Simple HTML decorator for tags
array $_alloweFontSizeUnits = 'array'
Allowed fontsize units
array $_classList = 'null'
List of tags which get assigned to the inner element instead of font-sizes.
string $_encoding = 'UTF-8'
string $_fontSizeUnit = 'px'
Unit for the fontsize
array $_htmlTags = 'array'
List of HTML tags
integer $_maxFontSize = '20'
Maximum fontsize
integer $_minFontSize = '10'
Minimum fontsize
getClassList(
)
:
array
Get class list
getEncoding(
)
:
string
Get encoding
getFontSizeUnit(
)
:
string
Retrieve font size unit
getHtmlTags(
)
:
array
Get HTML tags map
getMaxFontSize(
)
:
int
Retrieve maximum font size
getMinFontSize(
)
:
int
Retrieve minimum font size
render(
Zend_Tag_ItemList $tags
)
:
array
Defined by Zend_Tag_Cloud_Decorator_Tag
setClassList(
array $classList
=
null
)
:
Zend_Tag_Cloud_Decorator_HtmlTag
Set a list of classes to use instead of fontsizes
setEncoding(
string $value
)
:
Zend_Tag_Cloud_Decorator_HtmlTag
Set encoding
setFontSizeUnit(
string $fontSizeUnit
)
:
Zend_Tag_Cloud_Decorator_HtmlTag
Set the font size unit
Possible values are: em, ex, px, in, cm, mm, pt, pc and %
setHtmlTags(
array $htmlTags
)
:
Zend_Tag_Cloud_Decorator_HtmlTag
Set the HTML tags surrounding the <a> element
setMaxFontSize(
integer $maxFontSize
)
:
Zend_Tag_Cloud_Decorator_HtmlTag
Set maximum font size
setMinFontSize(
int $minFontSize
)
:
Zend_Tag_Cloud_Decorator_HtmlTag
Set minimum font size