silverorange Code


PinholeDemo.PageFactory
/demo/include/PageFactory.php at line 10

Class PageFactory

SitePageFactory
└─PinholePageFactory
└─PageFactory

public class PageFactory
extends PinholePageFactory

Copyright:
2007 silverorange
License:
http://www.gnu.org/copyleft/lesser.html LGPL License 2.1

Method Summary
protected void

getPageMap()

static void

instance()

protected SiteLayout

resolveLayout(mixed app, string source)

Resolves the layout object to use for the instantiated page.

Methods inherited from Pinhole.PinholePageFactory
getPageInfo, getPageMap, resolvePage
Methods inherited from Site.SitePageFactory
decorate, instantiateLayout, instantiatePage, isDecorator, isLayout, isPage, loadClass, loadLayoutClass, loadPageClass, resolveLayout, resolvePage

Method Detail

/demo/include/PageFactory.php at line 28

getPageMap

protected void getPageMap()

/demo/include/PageFactory.php at line 14

instance

public static void instance()

/demo/include/PageFactory.php at line 42

resolveLayout

protected SiteLayout resolveLayout(mixed app, string source)

Resolves the layout object to use for the instantiated page

By default, the layout is resolved to SiteLayout.

Parameters:
source - the source string for which to get the layout.

silverorange Code