Logo ZenEngine Logo SourceForge.net ZenEngine
the lightweight CMS framework

ZenDocument

package : ZenEngine/Core
Author : Bruno Desthuilliers
Version : 0.0.5

public class ZenDocument

A ZenDocument object is just a data holder for the document's data (head and body)...
NB : This class is so dumb that I sometime wonder why I made it a class... OO Abuse ?

Functions

public void ZenDocument

Create a new document from head and body part

Parameters :
string $head : head part
string $body : body part

Return : (void)

public string getHead

Return the head part

Return : (string)

public void getBody

Return the body part

Return : (void)

variables

private string $_head

Head part of the document

private string $_body

Body part of the document