PageEditorFieldsTrait
Tags
Table of Contents
Properties
- $content : array<string|int, mixed>
- $css : array<string|int, mixed>
- Summary of css
- $fonts : array<string|int, mixed>
- Summary of fonts
- $html : array<string|int, mixed>
- Summary of html
Methods
- getContent() : array<string|int, mixed>|null
- Get content in json format
- getCss() : string|null
- getFonts() : string|null
- getHtml() : string|null
- getWysiwygContent() : string
- setContent() : static
- Summary of setContent
- setCss() : static
- setFonts() : static
- setHtml() : static
Properties
$content
private
array<string|int, mixed>
$content
= null
Attributes
- #[Column]
- $nullable: true
- $length: null
$css
Summary of css
private
array<string|int, mixed>
$css
= null
Attributes
- #[Column]
- $nullable: true
$fonts
Summary of fonts
private
array<string|int, mixed>
$fonts
= null
Attributes
- #[Column]
- $nullable: true
$html
Summary of html
private
array<string|int, mixed>
$html
= null
Attributes
- #[Column]
- $nullable: true
Methods
getContent()
Get content in json format
public
getContent() : array<string|int, mixed>|null
Return values
array<string|int, mixed>|nullgetCss()
public
getCss() : string|null
Return values
string|nullgetFonts()
public
getFonts() : string|null
Return values
string|nullgetHtml()
public
getHtml() : string|null
Return values
string|nullgetWysiwygContent()
public
getWysiwygContent() : string
Return values
stringsetContent()
Summary of setContent
public
setContent(array<string|int, mixed> $content) : static
Parameters
- $content : array<string|int, mixed>
Return values
staticsetCss()
public
setCss(string|null $css) : static
Parameters
- $css : string|null
Return values
staticsetFonts()
public
setFonts(string|null $fonts) : static
Parameters
- $fonts : string|null
Return values
staticsetHtml()
public
setHtml(string|null $html) : static
Parameters
- $html : string|null