RichText
class RichText
This class allows the storage and retrieval of rich text.
Properties
private string | $content | ||
private string | $edition |
Methods
void
__construct(string $content, string $edition = 'manual')
Constructor of class RichText
bool
isManual()
Indicates if this text was edited manually or not
string
getEdition()
Returns the edition mode of this rich text
void
setEdition(string $edition = 'manual')
Sets the edition mode of this rich text
string
getContent()
Returns the text content
void
setContent(string $content)
Sets the text content
Details
at line 63
void
__construct(string $content, string $edition = 'manual')
Constructor of class RichText
at line 75
bool
isManual()
Indicates if this text was edited manually or not
at line 86
string
getEdition()
Returns the edition mode of this rich text
at line 98
void
setEdition(string $edition = 'manual')
Sets the edition mode of this rich text
at line 109
string
getContent()
Returns the text content
at line 121
void
setContent(string $content)
Sets the text content