IP.Board  3.3.0
xmlOutput Class Reference
Inheritance diagram for xmlOutput:
coreOutput interface_output

Public Member Functions

 __construct (output $output)
 addHeadItems ()
 displayBoardOffline ($message)
 displayError ($message, $code=0)
 fetchOutput ($output, $title, $navigation, $documentHeadItems, $jsLoaderItems, $extraData=array())
 finishUp ()
 html_showDebugInfo ()
 parseIPSTags ($text)
 printHeader ()
 silentRedirect ($url, $seoTitle='')

Protected Member Functions

 html_buildLanguageDropDown ()
 html_fetchCopyright ()
 html_fetchSetsDropDown ()

Protected Attributes

 $_css = array( 'import' => array(), 'inline' => array() )
 $output

Constructor & Destructor Documentation

__construct ( output output)

Constructor

public

Parameters:
objectOutput object
Returns:
void

Reimplemented from coreOutput.


Member Function Documentation

Adds more items into the document header like CSS / RSS, etc

public

Returns:
null

Implements interface_output.

displayBoardOffline ( message)

Display board offline

public

Parameters:
stringMessage
Returns:
mixed You can print a custom message here, or return formatted data to be sent do registry->output->sendOutput
displayError ( message,
code = 0 
)

Display error

public

Parameters:
stringError message
integerError code
Returns:
mixed You can print a custom message here, or return formatted data to be sent do registry->output->sendOutput
fetchOutput ( output,
title,
navigation,
documentHeadItems,
jsLoaderItems,
extraData = array() 
)

Fetches the output

public

Parameters:
stringOutput gathered
stringTitle of the document
arrayNavigation gathered
arrayArray of document head items
arrayArray of JS loader items
arrayArray of extra data
Returns:
string Output to be printed to the client

Implements interface_output.

finishUp ( )

Finish / clean up after sending output

public

Returns:
null

Implements interface_output.

html_buildLanguageDropDown ( ) [protected]

Fetch language drop down box

protected

Returns:
string
html_fetchCopyright ( ) [protected]

Fetch copyright notice

protected

Returns:
string
html_fetchSetsDropDown ( ) [protected]

Fetch skin list

Does what is says up there a bit

protected

Returns:
HTML Drop down list. All nicely formatted.

Returns debug data

protected

Returns:
string
parseIPSTags ( text)

Replace IPS tags Converts over <#IMG_DIR#>, etc

public

Parameters:
stringUnparsed text
Returns:
string Parsed text

Implements interface_output.

Prints any header information for this output module

public

Returns:
null Prints header() information

Implements interface_output.

silentRedirect ( url,
seoTitle = '' 
)

Silent redirect (Redirects without a screen or other notification)

public

Parameters:
stringURL
string[SEO Title]
Returns:
mixed

The documentation for this class was generated from the following file:
 All Data Structures Functions Variables