Class UserTagOperations

Description

UserTags class for admin

  • license: GPL

Located in /class.usertagoperations.inc.php (line 35)


	
			
Method Summary
static void &get_instance ()
UserTagOperations __construct ()
void CallUserTag ( $name,  &$params)
void CreateTagFunction ( $name)
mixed GetUserTag (string $name)
mixed ListUserTags ()
void LoadUserTags ()
mixed RemoveUserTag (string $name)
mixed SetUserTag (string $name, string $text)
void SmartyTagExists ( $name, [ $check_functions = true])
mixed UserTagExists (string $name)
void __call ( $name,  $arguments)
Methods
static method get_instance (line 42)
  • access: public
static void &get_instance ()
Constructor __construct (line 40)
  • access: protected
UserTagOperations __construct ()
CallUserTag (line 243)
void CallUserTag ( $name,  &$params)
  • $name
  • &$params
CreateTagFunction (line 257)
void CreateTagFunction ( $name)
  • $name
GetUserTag (line 106)

Retrieve the body of a user defined tag

  • return: If successfull, the body of the user tag (string). If it fails, false
mixed GetUserTag (string $name)
  • string $name: User defined tag name
ListUserTags (line 230)

Return a list (suitable for use in a pulldown) of user tags.

  • return: If successful, an array. If it fails, false.
mixed ListUserTags ()
LoadUserTags (line 64)
  • access: public
void LoadUserTags ()
RemoveUserTag (line 207)

Remove a named user defined tag from the database

  • return: If successful, true. If it fails, false.
mixed RemoveUserTag (string $name)
  • string $name: User defined tag name
SetUserTag (line 171)

Add or update a named user defined tag into the database

  • return: If successful, true. If it fails, false.
mixed SetUserTag (string $name, string $text)
  • string $name: User defined tag name
  • string $text: Body of user defined tag
SmartyTagExists (line 132)

Test if a plugin function by this name exists...

void SmartyTagExists ( $name, [ $check_functions = true])
  • $name
  • $check_functions
UserTagExists (line 121)

Test if a user defined tag with a specific name exists

  • return: If successfull the name of the user defined tag. false otherwise
  • since: 1.10
mixed UserTagExists (string $name)
  • string $name: User defined tag name
__call (line 52)
  • access: public
void __call ( $name,  $arguments)
  • $name
  • $arguments

Documentation generated on Sun, 12 Aug 2012 08:38:31 -0600 by phpDocumentor 1.3.2