Semantic MediaWiki and related extensions
Public Member Functions | Public Attributes | List of all members
SMW\MediaWiki\Hooks\ParserAfterTidy Class Reference
Inheritance diagram for SMW\MediaWiki\Hooks\ParserAfterTidy:
Inheritance graph
[legend]
Collaboration diagram for SMW\MediaWiki\Hooks\ParserAfterTidy:
Collaboration graph
[legend]

Public Member Functions

 __construct (Parser &$parser, NamespaceExaminer $namespaceExaminer, Cache $cache)
 
 isCommandLineMode ( $isCommandLineMode)
 
 isReadOnly ( $isReadOnly)
 
 process (&$text)
 
- Public Member Functions inherited from SMW\MediaWiki\Hooks\HookHandler
 __construct ()
 
 setOptions (array $options)
 
 setOption ( $key, $value)
 
 getOption ( $key, $default=null)
 
 isFlagSet ( $key, $flag)
 

Public Attributes

const CACHE_NAMESPACE = 'smw:parseraftertidy'
 

Additional Inherited Members

- Protected Member Functions inherited from SMW\MediaWiki\Hooks\HookHandler
 log ( $message, $context=[])
 

Detailed Description

Hook: ParserAfterTidy to add some final processing to the fully-rendered page output

See also
https://www.mediawiki.org/wiki/Manual:Hooks/ParserAfterTidy

GNU GPL v2+

Since
1.9
Author
mwjames

Constructor & Destructor Documentation

◆ __construct()

SMW\MediaWiki\Hooks\ParserAfterTidy::__construct ( Parser &  $parser,
NamespaceExaminer  $namespaceExaminer,
Cache  $cache 
)
Since
1.9
Parameters
Parser$parser
NamespaceExaminer$NamespaceExaminer
Cache$cache

Member Function Documentation

◆ isCommandLineMode()

SMW\MediaWiki\Hooks\ParserAfterTidy::isCommandLineMode (   $isCommandLineMode)
See also
https://www.mediawiki.org/wiki/Manual:$wgCommandLineMode
Since
2.5
Parameters
boolean$isCommandLineMode

◆ isReadOnly()

SMW\MediaWiki\Hooks\ParserAfterTidy::isReadOnly (   $isReadOnly)
Since
3.0
Parameters
boolean$isReadOnly

◆ process()

SMW\MediaWiki\Hooks\ParserAfterTidy::process ( $text)
Since
1.9
Parameters
string$text
Returns
true

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

About | General disclaimer | Privacy policy