×
Page module
Description
Page module helps you to create live editable pages on frontend.
Include
use yii\easyii\modules\page\api\Page;
Public functions
object Page::get( $id_slug ) | ||
$id_slug | integer / string | Page identifier can be integer (id) or string (slug) | Returns PageObject |
PageObject
Public Properties
$title | string | Page title |
$text | string | Page text |
$model | yii\db\ActiveRecord | Page ActiveRecord object |