Class ListConfiguration
- TableAccess
- TableLists
- ListConfiguration
License: GNU General Public License v2.0 only **********************************************************************************************
Class:
ListConfiguration This class creates a list configuration object. With this object it's possible to manage the configuration in the database. You can easily create new lists, add new columns or remove columns.
Beside the methods of the parent class there are the following additional methods:
readColumns() - Daten der zugehoerigen Spalten einlesen und in Objekten speichern addColumn($number, $field, $sort = "", $condition = "") - fuegt eine neue Spalte dem Spaltenarray hinzu deleteColumn($number, $all = false) - entfernt die entsprechende Spalte aus der Konfiguration countColumns() - Anzahl der Spalten der Liste zurueckgeben getSQL($roleIds, $memberStatus = 0) - gibt das passende SQL-Statement zu der Liste zurueck
Located at listconfiguration.php
Methods summary
public
|
#
__construct(
Constructor that will create an object to handle the configuration of lists. |
public
boolean
|
|
public
|
|
public
integer
|
|
public
boolean
|
|
public
|
#
getColumnObject( integer $number )
Returns the column object with the corresponding number. If that column doesn't exists the method try to repair the column list. If that won't help then @b null will be returned. |
public
string
|
|
public
|
|
public
|
|
public
boolean
|
Methods inherited from TableLists
Methods inherited from TableAccess
__sleep()
,
connectAdditionalTable()
,
countAllRecords()
,
getValue()
,
hasColumnsValueChanged()
,
isNewRecord()
,
readData()
,
readDataByColumns()
,
readDataById()
,
setArray()
,
setDatabase()
,
setValue()
Properties inherited from TableAccess
$additionalTables
,
$columnPrefix
,
$columnsInfos
,
$columnsValueChanged
,
$db
,
$dbColumns
,
$keyColumnName
,
$new_record
,
$tableName