CustomSection implements Arrayable
Table of Contents
Interfaces
Methods
- getCode() : string|null
- Returns CODE of this custom section
- getId() : int|null
- Returns ID of this custom section
- getPages() : array<string|int, Page>
- Returns pages of this custom section
- getTitle() : string|null
- Returns TITLE of this custom section
- setCode() : CustomSection
- Sets CODE of this custom section
- setId() : CustomSection
- Sets ID of this custom section
- setPages() : CustomSection
- Returns pages of this custom section
- setTitle() : CustomSection
- Sets TITLE of this custom section
- toArray() : array<string|int, mixed>
Methods
getCode()
Returns CODE of this custom section
public
getCode() : string|null
Return values
string|nullgetId()
Returns ID of this custom section
public
getId() : int|null
Return values
int|nullgetPages()
Returns pages of this custom section
public
getPages() : array<string|int, Page>
Return values
array<string|int, Page>getTitle()
Returns TITLE of this custom section
public
getTitle() : string|null
Return values
string|nullsetCode()
Sets CODE of this custom section
public
setCode(string $code) : CustomSection
Parameters
- $code : string
Return values
CustomSectionsetId()
Sets ID of this custom section
public
setId(int $id) : CustomSection
Parameters
- $id : int
Return values
CustomSectionsetPages()
Returns pages of this custom section
public
setPages(array<string|int, Page> $pages) : CustomSection
Parameters
- $pages : array<string|int, Page>
Return values
CustomSectionsetTitle()
Sets TITLE of this custom section
public
setTitle(string $title) : CustomSection
Parameters
- $title : string
Return values
CustomSectiontoArray()
public
toArray() : array<string|int, mixed>