XpressEngine Core  1.11.2
 All Classes Namespaces Files Functions Variables Pages
Public Member Functions | List of all members
HTMLDisplayHandler Class Reference

Public Member Functions

 toDoc (&$oModule)
 
 prepareToPrint (&$output)
 
 _preserveValue ($match)
 
 _preserveSelectValue ($matches)
 
 _preserveTextAreaValue ($matches)
 
 _moveStyleToHeader ($matches)
 
 _moveLinkToHeader ($matches)
 
 _moveMetaToHeader ($matches)
 
 _transMeta ($matches)
 
 _loadJSCSS ()
 

Detailed Description

Definition at line 4 of file HTMLDisplayHandler.php.

Member Function Documentation

HTMLDisplayHandler::_loadJSCSS ( )

import basic .js files.

Returns
void

Definition at line 384 of file HTMLDisplayHandler.php.

HTMLDisplayHandler::_moveLinkToHeader (   $matches)

add html link code extracted from html body to Context, which will be printed inside <header></header> later.

Parameters
array$matches
Returns
void

Definition at line 350 of file HTMLDisplayHandler.php.

HTMLDisplayHandler::_moveMetaToHeader (   $matches)

add meta code extracted from html body to Context, which will be printed inside <header></header> later.

Parameters
array$matches
Returns
void

Definition at line 361 of file HTMLDisplayHandler.php.

HTMLDisplayHandler::_moveStyleToHeader (   $matches)

add html style code extracted from html body to Context, which will be printed inside <header></header> later.

Parameters
array$matches
Returns
void

Definition at line 335 of file HTMLDisplayHandler.php.

HTMLDisplayHandler::_preserveSelectValue (   $matches)

when display mode is HTML, prepare code before print about <select> tag value.

Parameters
array$matchesselect tag.
Returns
string select tag.

Definition at line 298 of file HTMLDisplayHandler.php.

HTMLDisplayHandler::_preserveTextAreaValue (   $matches)

when display mode is HTML, prepare code before print about <textarea> tag value.

Parameters
array$matchestextarea tag information.
Returns
string textarea tag

Definition at line 322 of file HTMLDisplayHandler.php.

HTMLDisplayHandler::_preserveValue (   $match)

when display mode is HTML, prepare code before print about <input> tag value.

Parameters
array$matchinput value.
Returns
string input value.

Definition at line 244 of file HTMLDisplayHandler.php.

HTMLDisplayHandler::_transMeta (   $matches)

add given .css or .js file names in widget code to Context

Parameters
array$matches
Returns
void

Definition at line 371 of file HTMLDisplayHandler.php.

HTMLDisplayHandler::prepareToPrint ( $output)

when display mode is HTML, prepare code before print.

Parameters
string$outputcompiled template string
Returns
void

Definition at line 148 of file HTMLDisplayHandler.php.

HTMLDisplayHandler::toDoc ( $oModule)

Produce HTML compliant content given a module object.

Parameters
ModuleObject$oModulethe module object
Returns
string compiled template string

Definition at line 12 of file HTMLDisplayHandler.php.


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