Jinya CMS

ThemeClassicPage
in package
implements Creatable, Updatable, Deletable Uses EntityTrait, DeletableEntityTrait

This class contains a simple page connected to a theme

Tags

Interfaces, Classes, Traits and Enums

Creatable
Updatable
Deletable

Table of Contents

$classicPageId  : int
$name  : string
$themeId  : int
create()  : void
Creates the current theme page
findByTheme()  : Iterator<string|int, ThemeClassicPage>
Finds the pages for the given theme
findByThemeAndName()  : ThemeClassicPage|null
Finds a page by name and theme
format()  : array<string, array<string, array<string, array<string, string|null>|string>|int|string>|string|null>
Formats the theme page into an array
getClassicPage()  : ClassicPage|null
Gets the page of the theme page
update()  : void

Properties

Methods

create()

Creates the current theme page

public create() : void
Tags
Return values
void

format()

Formats the theme page into an array

public format() : array<string, array<string, array<string, array<string, string|null>|string>|int|string>|string|null>
Tags
Return values
array<string, array<string, array<string, array<string, string|null>|string>|int|string>|string|null>

Search results