VirtualPage_Controller
class VirtualPage_Controller extends Page_Controller (View source)
Controller for the virtual page.
Properties
Methods
When the virtualpage is loaded, check to see if the versions are the same if not, reload the content.
Also check the original object's original controller for the method
Pass unrecognized method calls on to the original controller
Details
reloadContent()
Reloads the content if the version is different ;-)
getViewer($action)
No description
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
mixed
__call(string $method, string $args)
Pass unrecognized method calls on to the original controller