Mecha CMS

Working with pages.

$page->__call()

Dynamic methods.

$page->__construct()

Constructor.

$page->__get()

Dynamic properties.

$page->apart()

Convert page file content into array of 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->saveTo()

Save a page.

$page->save()

Save the updated page data.

$page->set()

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

$page->unite()

Generate page file content from array input.