Create a new tag according to the options
| Parameters: | array|Traversable – |
|---|---|
| Throws ZendTagExceptionInvalidArgumentException: | |
| When invalid options are provided | |
| Throws ZendTagExceptionInvalidArgumentException: | |
| When title was not set | |
| Throws ZendTagExceptionInvalidArgumentException: | |
| When weight was not set | |
Set options of the tag
| Parameters: | array – |
|---|---|
| Return type: | ZendTagItem |
Set the title
| Parameters: | string – |
|---|---|
| Throws ZendTagExceptionInvalidArgumentException: | |
| When title is no string | |
| Return type: | ZendTagItem |
Set the weight
| Parameters: | float – |
|---|---|
| Throws ZendTagExceptionInvalidArgumentException: | |
| When weight is not numeric | |
| Return type: | ZendTagItem |
Set multiple params at once
| Parameters: | array – |
|---|---|
| Return type: | ZendTagItem |