ILIAS  release_4-4 Revision
ilMWParserAdapter Class Reference
+ Inheritance diagram for ilMWParserAdapter:
+ Collaboration diagram for ilMWParserAdapter:

Public Member Functions

 __construct ()
 
 maybeMakeExternalImage ( $url)
 
- Public Member Functions inherited from Parser
 Parser ()
 #- More...
 
 firstCallInit ()
 Do various kinds of initialisation on the first call of the parser. More...
 
 setOutputType ( $ot)
 
 uniqPrefix ()
 Accessor for mUniqPrefix. More...
 
 parse ( $text, &$title, $options, $linestart=true, $clearState=true, $revid=null)
 Convert wikitext to HTML Do not call this function recursively. More...
 
 recursiveTagParse ( $text)
 Recursive parser entry point that can be called from an extension tag hook. More...
 
 preprocess ( $text, $title, $options)
 Expand templates and variables in the text, producing valid, static wikitext. More...
 
getTitle ()
 
 getOptions ()
 
 getFunctionLang ()
 
 unstripForHTML ( $text)
 
 magicLinkCallback ( $m)
 
 makeLinkHolder (&$nt, $text='', $query='', $trail='', $prefix='')
 Make a link placeholder. More...
 
 makeKnownLinkHolder ( $nt, $text='', $query='', $trail='', $prefix='')
 Render a forced-blue link inline; protect against double expansion of URLs if we're in a mode that prepends full URL prefixes to internal links. More...
 
 armorLinks ( $text)
 Insert a NOPARSE hacky thing into any inline links in a chunk that's going to go through further parsing steps before inline URL expansion. More...
 
 areSubpagesAllowed ()
 Return true if subpage links should be expanded on this page. More...
 
 getCommon ( $st1, $st2)
 
 openList ( $char)
 
 nextItem ( $char)
 
 closeList ( $char)
 
 findColonNoLinks ($str, &$before, &$after)
 Split up a string on ':', ignoring any occurences inside tags to prevent illegal overlapping. More...
 
 fetchTemplate ( $title)
 Fetch the unparsed text of a template and register a reference to it. More...
 
 interwikiTransclude ( $title, $action)
 Transclude an interwiki link. More...
 
 fetchScaryTemplateMaybeFromCache ($url)
 
 incrementIncludeSize ( $type, $size)
 Increment an include size counter. More...
 
 stripNoGallery (&$text)
 Detect NOGALLERY magic word and set a placeholder. More...
 
 stripToc ( $text)
 Detect TOC magic word and set a placeholder. More...
 
 preSaveTransform ( $text, &$title, $user, $options, $clearState=true)
 Transform wiki markup when saving a page by doing
->
conversion, substitting signatures, {{subst:}} templates, etc. More...
 
 validateSig ( $text)
 Check that the user's signature contains no bad XML. More...
 
 cleanSig ( $text, $parsing=false)
 Clean up signature text. More...
 
 cleanSigInSig ( $text)
 Strip ~~~, ~~~~ and ~~~~~ out of signatures. More...
 
 startExternalParse (&$title, $options, $outputType, $clearState=true)
 Set up some variables which are usually set up in parse() so that an external function can call some class members with confidence. More...
 
 transformMsg ( $text, $options)
 Transform a MediaWiki message by replacing magic variables. More...
 
 setHook ( $tag, $callback)
 Create an HTML-style tag, e.g. More...
 
 setFunctionHook ( $id, $callback, $flags=0)
 Create a function, e.g. More...
 
 getFunctionHooks ()
 Get all registered function hook identifiers. More...
 
 replaceLinkHolders (&$text, $options=0)
 Replace link placeholders with actual links, in the buffer Placeholders created in Skin::makeLinkObj() Returns an array of links found, indexed by PDBK: 0 - broken 1 - normal link 2 - stub $options is a bit field, RLH_FOR_UPDATE to select for update. More...
 
 replaceLinkHoldersText ( $text)
 Replace link placeholders with plain text of links (not HTML-formatted). More...
 
 renderPreTag ( $text, $attribs)
 Tag hook handler for 'pre'. More...
 
 renderImageGallery ( $text, $params)
 Renders an image gallery from a text with one line per image. More...
 
 makeImage ( $nt, $options)
 Parse image options text and use it to make an image. More...
 
 disableCache ()
 Set a flag in the output object indicating that the content is dynamic and shouldn't be cached. More...
 
 Title ( $x=NULL)
 #- More...
 
 Options ( $x=NULL)
 
 OutputType ( $x=NULL)
 
 getTags ()
 #- More...
 
 getSection ( $text, $section, $deftext='')
 This function returns the text of a section, specified by a number ($section). More...
 
 replaceSection ( $oldtext, $section, $text)
 
 getRevisionTimestamp ()
 Get the timestamp associated with the current revision, adjusted for the default server-local timestamp. More...
 
 setDefaultSort ( $sort)
 Mutator for $mDefaultSort. More...
 
 getDefaultSort ()
 Accessor for $mDefaultSort Will use the title/prefixed title if none is set. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from Parser
 tidy ( $text)
 Interface with html tidy, used if $wgUseTidy = true. More...
 
static replaceUnusualEscapes ( $url)
 Replace unusual URL escape codes with their equivalent characters. More...
 
static createAssocArgs ( $args)
 Clean up argument array - refactored in 1.9 so parserfunctions can use it, too. More...
 
- Data Fields inherited from Parser
const VERSION = MW_PARSER_VERSION
 
 $mFunctionHooks
 
 $mFunctionSynonyms
 
 $mVariables
 
 $mOutput
 
 $mAutonumber
 
 $mDTopen
 
 $mStripState
 
 $mIncludeCount
 
 $mArgStack
 
 $mLastSection
 
 $mInPre
 
 $mInterwikiLinkHolders
 
 $mLinkHolders
 
 $mUniqPrefix
 
 $mIncludeSizes
 
 $mDefaultSort
 
 $mTemplates
 
 $mTemplatePath
 
 $mOptions
 
 $mTitle
 
 $mOutputType
 
 $ot
 
 $mRevisionId
 
 $mRevisionTimestamp
 
 $mRevIdForTs
 

Detailed Description

Definition at line 117 of file class.ilMWParserAdapter.php.

Constructor & Destructor Documentation

◆ __construct()

ilMWParserAdapter::__construct ( )

Definition at line 119 of file class.ilMWParserAdapter.php.

120  {
121  parent::__construct();
122  $this->mOptions = new ilMWFakery();
123  $this->mTitle = new ilMWFakery();
124  $this->mOutput = new ilMWFakery();
125  }

Member Function Documentation

◆ maybeMakeExternalImage()

ilMWParserAdapter::maybeMakeExternalImage (   $url)

Definition at line 127 of file class.ilMWParserAdapter.php.

127 { return false;}

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