Page · Mecha CMS

Working with pages.

__call()

Dynamic methods.

__construct()

Constructor.

__get()

Dynamic properties.

$page::apart()

Convert page file content into array of page data.

$page->data()

Insert new page data, update and/or remove current page data.

$page->get()

Get one or more data from the currently opened page file.

$page::open()

Open a page file before doing something.

$page->save()

Save the updated page data.

$page->saveTo()

Save a page.

$page::unite()

Generate page file content from array input.