Class TableAnnouncement
- TableAccess
- TableAnnouncement
License: GNU General Public License v2.0 only **********************************************************************************************
Class:
TableAnnouncement
Diese Klasse dient dazu ein Ankuendigungsobjekt zu erstellen. Eine Ankuendigung kann ueber diese Klasse in der Datenbank verwaltet werden
Beside the methods of the parent class there are the following additional methods:
editRight() - prueft, ob die Ankuendigung von der aktuellen Orga bearbeitet werden darf
Located at tableannouncement.php
Methods summary
public
|
#
__construct(
Constructor that will create an object of a recordset of the table adm_announcements. If the id is set than the specific announcement will be loaded. |
public
boolean
|
|
public
integer|string|boolean
|
|
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. The current organization will be set per default. |
public
boolean
|
Methods inherited from TableAccess
__sleep()
,
clear()
,
connectAdditionalTable()
,
countAllRecords()
,
delete()
,
hasColumnsValueChanged()
,
isNewRecord()
,
readData()
,
readDataByColumns()
,
readDataById()
,
setArray()
,
setDatabase()
Properties summary
Properties inherited from TableAccess
$additionalTables
,
$columnPrefix
,
$columnsInfos
,
$columnsValueChanged
,
$db
,
$dbColumns
,
$keyColumnName
,
$new_record
,
$tableName