ClassInterface IOutputHandler

Description

class IOutputHandler, implement this if your plugin is and OutputHandler

Located in /share/System/IOutputHandler.php (line 37)

IPlugin
   |
   --IEmbedmentOutputHandler
      |
      --IOutputHandler
Method Summary
 void Disable ()
 string GetIdentifier ()
 void Parse ()
 void PrintError (string $msg, int $code)
 void SetIdentifier ([string $Identifier = ""])
 void SetTitle (string $title)
Methods
Disable (line 82)

Diable the OutputHandler, do this if you wish to print binary data.

  • access: public
void Disable ()
GetIdentifier (line 92)

Gets to original identifier specified as <Namespace>/<PluginID>.<ext> Do this if you wish to extraxt the extention and parse manually.

  • access: public
string GetIdentifier ()
Parse (line 101)

Print the content, should also be called from GetPage().

  • access: public
void Parse ()
PrintError (line 62)

Print an error code, if you use this method no other methods will be available.

  • access: public
void PrintError (string $msg, int $code)
  • string $msg: msg The message you wish to print
  • int $code: code The error code you wish to print eg. 404.
SetIdentifier (line 46)

Sets the complete unique identifier.

  • access: public
void SetIdentifier ([string $Identifier = ""])
  • string $Identifier: Idenfitifer Complete unique identifier.
SetTitle (line 73)

Set the title of the page

  • access: public
void SetTitle (string $title)
  • string $title: title Title of the page, channel etc.

Inherited Methods

Inherited From IEmbedmentOutputHandler

 IEmbedmentOutputHandler::ExtentHeader()
 IEmbedmentOutputHandler::GetContent()
 IEmbedmentOutputHandler::GetHeader()
 IEmbedmentOutputHandler::SetBody()

Inherited From IPlugin

 IPlugin::GetPluginID()
 IPlugin::Register()

Documentation generated on Mon, 30 Apr 2007 01:59:13 +0200 by phpDocumentor 1.3.1