\PhileCore

Phile

Summary

Methods
Properties
Constants
__construct()
render()
No public properties found
No constants found
initializeCurrentPage()
initializePlugins()
initializeConfiguration()
initializeErrorHandling()
checkSetup()
initializeTemplate()
$settings
$plugins
$pageRepository
$page
$output
N/A
No private methods found
No private properties found
N/A

Properties

$settings

$settings : array

Type

array — the settings array

$plugins

$plugins : array

Type

array — the loaded plugins

$pageRepository

$pageRepository : \Phile\Repository\Page

Type

\Phile\Repository\Page — the page repository

$page

$page : null|\Phile\Model\Page

Type

null|\Phile\Model\Page — the page model

$output

$output : string

Type

string — the output (rendered page)

Methods

__construct()

__construct()

The constructor carries out all the processing in Phile.

Does URL routing, Markdown processing and Twig processing.

render()

render() : string

return the page

Returns

string

initializeCurrentPage()

initializeCurrentPage()

initialize the current page

initializePlugins()

initializePlugins()

initialize plugins

Throws

\Phile\Exception

initializeConfiguration()

initializeConfiguration()

initialize configuration

initializeErrorHandling()

initializeErrorHandling()

initialize error handling

checkSetup()

checkSetup()

check the setup

initializeTemplate()

initializeTemplate()

initialize template engine