ZenMagick 0.9.6


org.zenmagick.plugins.ZMPluginPage

Class ZMPluginPage

ZMObject
|
+--ZMPluginPage

public class ZMPluginPage
extends ZMObject

Container for all data/information related to a plugin admin page.

Author:
DerManoMann
Version:
$Id: ZMPluginPage.php 1966 2009-02-14 10:52:50Z dermanomann $

Fields inherited from org.zenmagick.ZMObject
properties_
Constructor Summary

ZMPluginPage(string id, string title, string contents, string header)

Create a new plugin page.

Method Summary
string

getContents()

Get the contents.

string

getHeader()

Get the header code.

string

getId()

Get the id.

string

getTitle()

Get the title.

void

setContents(string contents)

Set the contents.

void

setHeader(string header)

Set the header code.

void

setId(string id)

Set the id.

void

setTitle(string title)

Set the title.

Methods inherited from org.zenmagick.ZMObject
attachMethod, get, getAttachedMethods, getPropertyNames, set, singleton

Constructor Detail

ZMPluginPage

public ZMPluginPage(string id, string title, string contents, string header)

Create a new plugin page.

Parameters:
id - The id.
title - The title.
contents - The page contents.
header - Optional code to be injected into the header; default is null.

Method Detail

getContents

public string getContents()

Get the contents.

Returns:
The page contents.

getHeader

public string getHeader()

Get the header code.

Returns:
The header code.

getId

public string getId()

Get the id.

Returns:
The page id.

getTitle

public string getTitle()

Get the title.

Returns:
The page title.

setContents

public void setContents(string contents)

Set the contents.

Parameters:
contents - The page contents.

setHeader

public void setHeader(string header)

Set the header code.

Parameters:
header - The header code.

setId

public void setId(string id)

Set the id.

Parameters:
id - The page id.

setTitle

public void setTitle(string title)

Set the title.

Parameters:
title - The page title.

ZenMagick 0.9.6