ClassicPage
extends Entity
in package
implements
JsonSerializable
This class contains a classic page. Classic pages only contain HTML content and a title
Tags
Interfaces, Classes, Traits and Enums
- JsonSerializable
Table of Contents
- $content : string
- $createdAt : DateTime
- $creatorId : int
- $id : int
- $lastUpdatedAt : DateTime
- $title : string
- $updatedById : int
- create() : void
- Creates the current simple page
- format() : array<string, array<string, array<string, string|null>|string>|int|string>
- Formats the current page
- getCreator() : Artist|null
- Gets the creator
- getUpdatedBy() : Artist|null
- Gets the artist who last updated the page
- jsonSerialize() : mixed
- update() : void
- Updates the current simple page
Properties
$content
public
string
$content
The content of the simple page
Tags
$createdAt
public
DateTime
$createdAt
The time the segment page was created
Tags
$creatorId
public
int
$creatorId
The ID of the artist who created the segment page
Tags
$id
public
int
$id
Tags
$lastUpdatedAt
public
DateTime
$lastUpdatedAt
The time the segment page was last updated
Tags
$title
public
string
$title
The title of the simple page
Tags
$updatedById
public
int
$updatedById
The ID of the artist who last updated the segment page
Tags
Methods
create()
Creates the current simple page
public
create() : void
Tags
Return values
void —format()
Formats the current page
public
format() : array<string, array<string, array<string, string|null>|string>|int|string>
Tags
Return values
array<string, array<string, array<string, string|null>|string>|int|string> —getCreator()
Gets the creator
public
getCreator() : Artist|null
Tags
Return values
Artist|null —getUpdatedBy()
Gets the artist who last updated the page
public
getUpdatedBy() : Artist|null
Tags
Return values
Artist|null —jsonSerialize()
public
jsonSerialize() : mixed
Tags
Return values
mixed —update()
Updates the current simple page
public
update() : void