SMWInfo Class Reference

List of all members.

Public Member Functions

 render (array $parameters)
 Renders and returns the output.

Static Public Member Functions

static staticInit (Parser &$parser)
 No LSB in pre-5.3 PHP *sigh*.

Protected Member Functions

 getName ()
 Gets the name of the parser hook.
 getDefaultParameters ($type)
 Returns the list of default parameters.
 getParameterInfo ($type)
 Returns an array containing the parameter info.


Detailed Description

Definition at line 15 of file SMW_Info.php.


Member Function Documentation

SMWInfo::render ( array $  parameters  ) 

Renders and returns the output.

See also:
ParserHook::render
Since:
1.7
Parameters:
array $parameters
Returns:
string

Non-escaping is safe bacause a user's message is passed through parser, which will handle unsafe HTM elements.

Definition at line 27 of file SMW_Info.php.

References SMWOutputs::commitToOutputPage(), SMWOutputs::commitToParser(), and smwfEncodeMessages().

static SMWInfo::staticInit ( Parser &$  parser  )  [static]

No LSB in pre-5.3 PHP *sigh*.

This is to be refactored as soon as php >=5.3 becomes acceptable.

Definition at line 54 of file SMW_Info.php.

SMWInfo::getName (  )  [protected]

Gets the name of the parser hook.

See also:
ParserHook::getName
Since:
1.7
Returns:
string

Definition at line 67 of file SMW_Info.php.

SMWInfo::getDefaultParameters ( type  )  [protected]

Returns the list of default parameters.

See also:
ParserHook::getDefaultParameters
Since:
1.6
Returns:
array

Definition at line 79 of file SMW_Info.php.

SMWInfo::getParameterInfo ( type  )  [protected]

Returns an array containing the parameter info.

See also:
ParserHook::getParameterInfo
Since:
1.7
Returns:
array

Definition at line 91 of file SMW_Info.php.


The documentation for this class was generated from the following file:

Generated on Sun Mar 18 07:15:43 2012 for Semantic MediaWiki by  doxygen 1.5.6