Class TableGuestbook
- TableAccess
- TableGuestbook
License: GNU General Public License v2.0 only **********************************************************************************************
Class:
TableGuestbook Diese Klasse dient dazu ein Gaestebucheintragsobjekt zu erstellen. Eine Gaestebucheintrag kann ueber diese Klasse in der Datenbank verwaltet werden
Beside the methods of the parent class there are the following additional methods:
moderate() - guestbook entry will be published, if moderate mode is set
Located at tableguestbook.php
Methods summary
public
|
#
__construct(
Constructor that will create an object of a recordset of the table adm_guestbook. If the id is set than the specific guestbook will be loaded. |
public
boolean
|
|
public
mixed
|
|
public
|
|
public
boolean
|
#
save( boolean $updateFingerPrint = true )
Save all changed columns of the recordset in table of database. Therefore the class remembers if it's a new record or if only an update is necessary. The update statement will only update the changed columns. If the table has columns for creator or editor than these column with their timestamp will be updated. For new records the organization and ip address will be set per default. |
public
boolean
|
Methods inherited from TableAccess
__sleep()
,
clear()
,
connectAdditionalTable()
,
countAllRecords()
,
hasColumnsValueChanged()
,
isNewRecord()
,
readData()
,
readDataByColumns()
,
readDataById()
,
setArray()
,
setDatabase()
Properties summary
Properties inherited from TableAccess
$additionalTables
,
$columnPrefix
,
$columnsInfos
,
$columnsValueChanged
,
$db
,
$dbColumns
,
$keyColumnName
,
$new_record
,
$tableName