Contentserv PHP API

ObjectDatabaseTable
in package

Tags

Table of Contents

__construct()  : mixed
The ObjectDatabaseTable constructor.
addRecord()  : void
clearRecords()  : void
getRecords()  : array<string|int, mixed>
getResultBySearch()  : ObjectDatabaseSearchResult
getResultCountBySearch()  : int
getTableRecord()  : ObjectDatabaseRecord
Returns the current record from the ObjectDatabase table.
getTableRecordClassName()  : string
insertRecords()  : void
updateRecordsForFilter()  : ObjectDatabaseResult
Updates records for a given column / value mapping and filter

Methods

getRecords()

public getRecords() : array<string|int, mixed>
Tags
Return values
array<string|int, mixed>

getTableRecordClassName()

public getTableRecordClassName() : string
Tags
Return values
string

updateRecordsForFilter()

Updates records for a given column / value mapping and filter

public updateRecordsForFilter(ObjectDatabaseSearchFilter $oObjectDatabaseFilter, array<string|int, mixed> $aColumnValueMapping) : ObjectDatabaseResult
Parameters
$oObjectDatabaseFilter : ObjectDatabaseSearchFilter

The filter to restrict the records, which should be updated.

$aColumnValueMapping : array<string|int, mixed>

The column / value mapping to update the records.

Tags
throws
Exception
Return values
ObjectDatabaseResult

        

Search results