TermPush()
TermPush(mixed $theTerm) : integer
Add to terms path
This method can be used to append elements to the object's terms path, it will add the provided element to the end of the path.
If you provide a {@link Term} as the parameter, the method will {@link reference()} it.
The method will return the number of elements in the path.
Parameters
mixed | $theTerm | Term reference or object. |
Returns
integer —Number of elements in path.