Jeff PHP framework  0.99
Modular, extensible, OOP, MVC, lightweight php framework designed to ease the programmers in the development of web applications.
document Class Reference

Class which renders the html document. More...

Public Member Functions

 __construct ()
 Constructs the document instance.
 render ()
 Rendering of the whole document.

Static Public Member Functions

static errorMessages ()
 Alert system errors if present.

Private Member Functions

 getTemplate ()
 Retrieves the template object from the template factory.
 initHeadVariables ()
 Initialization of some registry properties used in the head tag.

Private Attributes

 $_registry
 the registry singleton instance
 $_template
 the active template instance

Detailed Description

Class which renders the html document.

Author:
abidibo abidi.nosp@m.bo@g.nosp@m.mail..nosp@m.com
Version:
0.99
Date:
2011-2012

Definition at line 21 of file document.class.php.


Constructor & Destructor Documentation

Constructs the document instance.

Retrieves the template instance to use. The template object is created by a factory class which returns the proper template instance depending on the requested url.

The template instance represents a global template, the one which contains the whole html code and the modules views which may be considered as local templates.

Returns:
document instance

Definition at line 44 of file document.class.php.

+ Here is the call graph for this function:


Member Function Documentation

document::getTemplate ( ) [private]

Retrieves the template object from the template factory.

Returns:
the template instance

Definition at line 115 of file document.class.php.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Initialization of some registry properties used in the head tag.

Returns:
void

Definition at line 72 of file document.class.php.

+ Here is the caller graph for this function:

Rendering of the whole document.

Returns:
prints the whole document

Definition at line 56 of file document.class.php.

+ Here is the call graph for this function:


Field Documentation

the registry singleton instance

Definition at line 26 of file document.class.php.

the active template instance

Definition at line 31 of file document.class.php.


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