{
return $this->weight;
}
-
- /**
- * Sets the size of the tag.
- *
- * @param double $size
- * @deprecated 3.0
- */
- public function setSize($size)
- {
- }
-
- /**
- * Returns the size of the tag.
- *
- * @return double
- * @deprecated 3.0
- */
- public function getSize()
- {
- return (($this->weight - 1) / 6) * 85 + 85;
- }
}
*/
class TagCloud
{
- /**
- * max font size
- * @var int
- * @deprecated 3.0
- */
- const MAX_FONT_SIZE = 170;
-
- /**
- * min font size
- * @var int
- * @deprecated 3.0
- */
- const MIN_FONT_SIZE = 85;
-
/**
* list of tags
* @var TagCloudTag[]