Page · Mecha CMS

Working with pages.

__get()

Author: Taufik Nurrohman · 20 Views

Tweet

Dynamic properties.

$page = new Page('path\to\lorem-ipsum.page');

echo $page->test;

Here, $page->test will return the data if any, otherwise return null. A hook names as page.test will also be applied to the data output.