A compatibility class to manage simple plugins.
Formerly 'UserDefinedTags' were stored in the database. In CMSMS 2.3+ this functionality was replaced with simple plugins. This class provides backwards compatibility. This class will be removed from CMSMS at some point in the future.
| package |
CMS |
|---|---|
| license |
GPL |
| deprecated |
User Tags (or UDTs) are replaced with Simple plugins since v2.3 |
get_instance() : \UserTagOperations
LoadUserTags()
Since 2.3, his function is now an empty stub.
GetUserTag(string $name) : string|false
string $nameUser defined tag name
string|false
UserTagExists(string $name) : string|false
string $nameUser defined tag name
string|false
SetUserTag(string $name, string $text, string $description, integer $id = null) : boolean
string $nameUser defined tag name
string $textBody of user defined tag
string $descriptionDescription for the user defined tag.
integer $idID of existing user tag (for updates).
boolean
RemoveUserTag(string $name) : boolean
string $nameUser defined tag name
boolean
ListUserTags() : array|false
array|false
CallUserTag(string $name, array &$params) : mixed|false
string $nameThe name of the user defined tag
array $paramsOptional parameters.
mixed|false
The returned data from the user defined tag, or FALSE if the UDT could not be found.