class Context (View source)

The Context represents the current page within statements (loops) or just the requested page.

Methods

__construct(object $Page)

The constructor.

object
get()

Return $Page.

set(object $Page)

Set the context.

Details

__construct(object $Page)

The constructor.

Parameters

object $Page

object get()

Return $Page.

Return Value

object $Page

set(object $Page)

Set the context.

Parameters

object $Page