Zend\Tag\Item
Synopsis
class Item
implements
TaggableInterface
{
- // members
- protected string $title;
- protected float $weight;
- protected array $params;
- protected array $skipOptions;
- // methods
- public void __construct()
- public Item setOptions()
- public string getTitle()
- public Item setTitle()
- public float getWeight()
- public Item setWeight()
- public Item setParams()
- public Item setParam()
- public mixed getParam()
Hierarchy
Implements
Members
protected
- $params
—
string
Custom parameters - $skipOptions
—
array
Option keys to skip when calling setOptions() - $title
—
string
Title of the tag - $weight
—
float
Weight of the tag
Methods
public
- __construct() — Create a new tag according to the options
- getParam() — Defined by Zend\Tag\TaggableInterface
- getTitle() — Defined by Zend\Tag\TaggableInterface
- getWeight() — Defined by Zend\Tag\TaggableInterface
- setOptions() — Set options of the tag
- setParam() — Defined by Zend\Tag\TaggableInterface
- setParams() — Set multiple params at once
- setTitle() — Set the title
- setWeight() — Set the weight