Post
Table of Contents
Properties
- $id : mixed
Methods
- __construct() : mixed
- activateLogEntry() : bool
- Activates log entry of a blog post
- deactivateLogEntry() : bool
- Deactivates log entry of a blog post
- detectTags() : array<string|int, mixed>
- Detect tags in data array.
- getById() : mixed
- getFields() : mixed
- getId() : mixed
- getLogId() : int|bool
- Returns log entry Id of a blog post
- getSonetPerms() : mixed
- getTags() : mixed
- setFields() : mixed
- setId() : mixed
Properties
$id
public
mixed
$id
= false
Methods
__construct()
public
__construct() : mixed
activateLogEntry()
Activates log entry of a blog post
public
activateLogEntry() : bool
Return values
booldeactivateLogEntry()
Deactivates log entry of a blog post
public
deactivateLogEntry() : bool
Return values
booldetectTags()
Detect tags in data array.
public
detectTags() : array<string|int, mixed>
Return values
array<string|int, mixed>getById()
public
static getById([mixed $postId = 0 ][, mixed $params = array() ]) : mixed
Parameters
- $postId : mixed = 0
- $params : mixed = array()
getFields()
public
getFields() : mixed
getId()
public
getId() : mixed
getLogId()
Returns log entry Id of a blog post
public
getLogId([array<string|int, mixed> $params = [] ]) : int|bool
Parameters
- $params : array<string|int, mixed> = []
Return values
int|boolgetSonetPerms()
public
getSonetPerms([mixed $params = array() ]) : mixed
Parameters
- $params : mixed = array()
getTags()
public
getTags() : mixed
setFields()
public
setFields([mixed $fields = array() ]) : mixed
Parameters
- $fields : mixed = array()
setId()
public
setId([mixed $id = 0 ]) : mixed
Parameters
- $id : mixed = 0