HTML_TagCloud
[ class tree: HTML_TagCloud ] [ index: HTML_TagCloud ] [ all elements ]

Class: MyTags

Source Location: /HTML_TagCloud-1.0.0/docs/examples/TagCloud_example3.php

Class Overview

HTML_TagCloud
   |
   --MyTags

MyTags extends HTML_TagCloud


Author(s):

Version:

  • Release: 1.0.0

Copyright:

  • 2010 Bastian Onken

Variables


Inherited Variables

Inherited Methods

Class: HTML_TagCloud

HTML_TagCloud::__construct()
Class constructor
HTML_TagCloud::addElement()
add a Tag Element to build Tag Cloud
HTML_TagCloud::addElements()
add a Tag Element to build Tag Cloud
HTML_TagCloud::buildAll()
build HTML and CSS at once.
HTML_TagCloud::buildCSS()
build CSS part
HTML_TagCloud::buildHTML()
build HTML part
HTML_TagCloud::clearElements()
clear Tag Elements
HTML_TagCloud::createHTMLTag()
create a Element of HTML part
HTML_TagCloud::getElementCount()
returns the number of elements in the tag cloud
HTML_TagCloud::getUid()
returns the unique id of the tag cloud
HTML_TagCloud::html_and_css()
Alias to buildAll. Compatibilities for Perl Module.
HTML_TagCloud::_createHTMLTag()
create a Element of HTML part

Class Details

[line 51]
MyTags extends HTML_TagCloud

Showing how to override the protected class vars



[ Top ]


Class Variables

$baseFontSize =  12

[line 133]

Defines the base font size
  • Access: protected

Type:   int
Overrides:   Array


[ Top ]

$epocLevel = array(
        array(
            'earliest' => array(
                'link'    => 'ffdfdf',
                'visited' => 'ffdfdf',
                'hover'   => 'ffdfdf',
                'active'  => 'ffdfdf',
            ),),array('earlier'=>array('link'=>'ff7f7f','visited'=>'ff7f7f','hover'=>'ff7f7f','active'=>'ff7f7f',),),array('previous'=>array('link'=>'ff7f7f','visited'=>'ff7f7f','hover'=>'ff7f7f','active'=>'ff7f7f',),),array('recent'=>array('link'=>'ff4f4f','visited'=>'ff4f4f','hover'=>'ff4f4f','active'=>'ff4f4f',),),array('later'=>array('link'=>'ff1f1f','visited'=>'ff1f1f','hover'=>'ff1f1f','active'=>'ff1f1f',),),array('latest'=>array('link'=>'ff0000','visited'=>'ff0000','hover'=>'ff0000','active'=>'ff0000',),),)

[line 60]

Defines colors of the different levels that tags will be assigned to (based on tag's age)
  • Access: protected

Type:   array
Overrides:   Array


[ Top ]

$fontSizeRange =  0

[line 125]

Limits the range of generated font-sizes
  • Access: protected

Type:   int
Overrides:   Array


[ Top ]

$sizeSuffix =  'pt'

[line 117]

Stores the font-size unit, potentional values are: mm,cm,in,pt,pc,px,em
  • Access: protected

Type:   string
Overrides:   Array


[ Top ]



Documentation generated on Mon, 11 Mar 2019 15:43:03 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.