Contentserv PHP API

Filter extends HistoryRecord
in package

Tags

Table of Contents

__construct()  : mixed
The Filter constructor of the database record.
getContext()  : string|null
Gets the Context value
getContextField()  : string
Returns the field "Context"
getLabelField()  : string
Returns the field "Label"
hasTrashcan()  : bool
isHistoryEnabled()  : bool
setContext()  : void
Sets the Context value
setLabel()  : void
Sets the label value

Methods

__construct()

The Filter constructor of the database record.

public __construct([int|null $iFilterId = null ]) : mixed
Parameters
$iFilterId : int|null = null

The filter id for the current record.

Tags
Return values
mixed

getContext()

Gets the Context value

public getContext() : string|null
Tags
Return values
string|null

getContextField()

Returns the field "Context"

public getContextField() : string
Tags
Return values
string

getLabelField()

Returns the field "Label"

public getLabelField() : string
Tags
Return values
string

hasTrashcan()

public hasTrashcan() : bool
Tags
inheritDoc
Return values
bool

isHistoryEnabled()

public isHistoryEnabled() : bool
Tags
inheritDoc
Return values
bool

setContext()

Sets the Context value

public setContext(string $sContext) : void
Parameters
$sContext : string

Context to be set

Tags
Return values
void

setLabel()

Sets the label value

public setLabel(string $sLabel) : void
Parameters
$sLabel : string

label to be set

Tags
Return values
void

        

Search results