- Symphony 2.6.8
-
› assets
14 -
› boot
14 -
› core
23 -
› cryptography
4 -
› data-sources
6 -
› email-gateways
3 -
› events
3 -
› global
59 -
› interface
9 -
› toolkit
59 - Delegates92
- Deprecated27
Versions
- 2.7.9
- 2.7.8
- 2.7.7
- 2.7.6
- 2.7.5
- 2.7.3
- 2.7.2
- 2.7.10
- 2.7.1
- 2.7.0
- 2.6.9
- 2.6.8
- 2.6.7
- 2.6.6
- 2.6.5
- 2.6.4
- 2.6.3
- 2.6.2
- 2.6.11
- 2.6.10
- 2.6.1
- 2.6.0
- 2.5.3
- 2.5.2
- 2.5.1
- 2.5.0
- 2.4
- 2.3.6
- 2.3.5
- 2.3.4
- 2.3.3
- 2.3.2
- 2.3.1
- 2.3
- 2.2.5
- 2.2.4
- 2.2.3
- 2.2.2
- 2.2.1
- 2.2
Options
Symphony Frontend
public class Frontend extends Symphony
class.frontend.php #12The Frontend class is the renderer that is used to display FrontendPage's.
A FrontendPage
is one that is setup in Symphony and it's output is generated
by using XML and XSLT
Methods
static FrontendPage Page()
Accessor for $_page
string display(
$page)
Called by index.php, this function is responsible for rendering the current
page on the Frontend. One delegate is fired, FrontendInitialised
Uses
Parameters
Returns
The HTML of the page to return
See Also
static Frontend instance()
This function returns an instance of the Frontend class. It is the only way to create a new Frontend, as it implements the Singleton interface
static boolean isLoggedIn()
Overrides the Symphony isLoggedIn()
function to allow Authors
to become logged into the frontend when $_REQUEST['auth-token']
is present. This logs an Author in using the loginFromToken function.
This function allows the use of 'admin' type pages, where a Frontend
page requires that the viewer be a Symphony Author