Automad
 All Classes Functions Variables Pages
Automad\Core\Context Class Reference

Public Member Functions

 __construct ($Page)
 
 get ()
 
 set ($Page)
 

Private Attributes

 $Page
 

Detailed Description

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

Author
Marc Anton Dahmen hello.nosp@m.@mar.nosp@m.cdahm.nosp@m.en.d.nosp@m.e
License
MIT license - http://automad.org/license

Definition at line 53 of file context.php.

Constructor & Destructor Documentation

Automad\Core\Context::__construct (   $Page)

The constructor.

Parameters
object$Page

Definition at line 69 of file context.php.

Member Function Documentation

Automad\Core\Context::set (   $Page)

Set the context.

Parameters
object$Page

Definition at line 95 of file context.php.

References Automad\Core\Debug\log().

Member Data Documentation

Automad\Core\Context::$Page
private

The context Page.

Definition at line 60 of file context.php.


The documentation for this class was generated from the following file: