class SubsitesVirtualPage_Controller extends VirtualPage_Controller (View source)

Properties

Methods

public
reloadContent()

Reloads the content if the version is different ;-)

public
getViewer($action)

No description

public
init()

When the virtualpage is loaded, check to see if the versions are the same if not, reload the content.

public
loadcontentall()

No description

public
bool
hasMethod(string $method)

Also check the original object's original controller for the method

public
mixed
__call(string $method, string $args)

Pass unrecognized method calls on to the original controller

Details

reloadContent()

Reloads the content if the version is different ;-)

getViewer($action)

No description

Parameters

$action

init()

When the virtualpage is loaded, check to see if the versions are the same if not, reload the content.

NOTE: Virtual page must have a container object of subclass of sitetree. We can't load the content without an ID or record to copy it from.

loadcontentall()

No description

bool hasMethod(string $method)

Also check the original object's original controller for the method

Parameters

string $method

Return Value

bool

mixed __call(string $method, string $args)

Pass unrecognized method calls on to the original controller

Parameters

string $method
string $args

Return Value

mixed

Exceptions

Exception