Page · Mecha CMS

Working with pages.

$page::open()

Author: Taufik Nurrohman · 190 Views

Tweet

Open a page file before doing something.

Page::open($path, $lot = [], $NS = ['*', 'page']);

Example:

Initialize by opening a page file:

Page::open('path\to\file.page');