|
||||
[previous page]  |  [up one level]  |  [next page] | ||||
|
ZenEngine
package : ZenEngine/Core
Author : Bruno Desthuilliers Version : 0.0.5 public class ZenEngineZenEngine is the 'entry point' of the framework.It builds and coordonate the other objects, and act as a Facade for the most important functionalities. Functionspublic void ZenEngineZenEngine's constructor, parse config file and init all the components.
Parameters : string $config_path : path to the ZenEngine config file Return : (void) public void setCurrentPageGet the menu item for the given key, and retrieve the associated document
if $key is null, defaults to the first menu item that is a document. Parameters : string $key : key for the menuItem or null Return : (void) public string getDocumentHeadReturn the Head part of the current document
Return : (string) public string getDocumentBodyReturn the Body part of the current document
Return : (string) public object ZenMenuItem getFirstMenuItemReturn first menu item.
Return : (object ZenMenuItem) public object ZenMenuItem getNextMenuItemReturn next menu item.
Return : (object ZenMenuItem) public mixed getPrevLinkReturn a link to the previous page.
See also : function ZenMenuManager. getPrevLink() Return : (mixed) a ZenMenuItem or false public mixed getNextLinkReturn a link to next page.
See also : function ZenMenuManager. getNextLink() Return : (mixed) a ZenMenuItem or false public mixed getUpperLinkReturn link to upper level's first page.
See also : function ZenMenuManager. getUpperLink() Return : (mixed) a ZenMenuItem or false public object ZenMenuManager getMenuManagerReturn the menu manager itself.
Use this if the menu access functions provided by the ZenEngine class dont fit your needs. Return : (object ZenMenuManager) public string getCurrentKeyReturn the key of the current document
May be useful for the menu prettyprinter code Return : (string) variablesprivate object ZenMenuManager $_menumanagerThe ZenMenuManager componant, handles menu access.private object ZenContentManager $_contentmanagerThe ZenContentManager componant, handles data accessprivate object ZenDocument $_currentDocThe document currently displayed.private string $_currentKeyThe menu key for the current document.private array $_configThe config for ZenEngine, as an associative array |
|||
[previous page]  |  [up one level]  |  [next page] |