Class ModuleLists
- Modules
- ModuleLists
License: GNU General Public License v2.0 only **********************************************************************************************
Brief:
Class manages lists viewable for user
This class reads all available recordsets from table lists. and returns an Array with results, recordsets and validated parameters from $_GET Array.
Class: ModuleLists
Code:
Array( [numResults] => 5 [limit] => 10 [totalCount] => 5 [recordset] => Array ( [0] => Array ( [0] => 2 [rol_id] => 2 [1] => 3 [rol_cat_id] => 3 [2] => [rol_lst_id] => [3] => Mitglieder [rol_name] => Mitglieder [4] => Alle Mitglieder der Organisation [rol_description] => Alle Mitglieder der Organisation [5] => 0 [rol_assign_roles] => 0 [6] => 0 [rol_approve_users] => 0 [7] => 0 [rol_announcements] => 0 [8] => 0 [rol_dates] => 0 [9] => 0 [rol_download] => 0 [10] => 0 [rol_edit_user] => 0 [11] => 0 [rol_guestbook] => 0 [12] => 1 [rol_guestbook_comments] => 1 [13] => 0 [rol_mail_to_all] => 0 [14] => 2 [rol_mail_this_role] => 2 [15] => 0 [rol_photo] => 0 [16] => 1 [rol_profile] => 1 [17] => 0 [rol_weblinks] => 0 [18] => 2 [rol_this_list_view] => 2 [19] => 0 [rol_all_lists_view] => 0 [20] => 1 [rol_default_registration] => 1 [21] => 1 [rol_leader_rights] => 1 [22] => [rol_start_date] => [23] => [rol_start_time] => [24] => [rol_end_date] => [25] => [rol_end_time] => [26] => 0 [rol_weekday] => 0 [27] => [rol_location] => [28] => [rol_max_members] => [29] => [rol_cost] => [30] => [rol_cost_period] => [31] => 1 [rol_usr_id_create] => 1 [32] => 2008-05-03 16:26:36 [rol_timestamp_create] => 2008-05-03 16:26:36 [33] => 1 [rol_usr_id_change] => 1 [34] => 2008-05-03 16:26:36 [rol_timestamp_change] => 2008-05-03 16:26:36 [35] => 1 [rol_valid] => 1 [36] => 0 [rol_system] => 0 [37] => 1 [rol_visible] => 1 [38] => 0 [rol_administrator] => 0 [39] => 3 [cat_id] => 3 [40] => 1 [cat_org_id] => 1 [41] => ROL [cat_type] => ROL [42] => COMMON [cat_name_intern] => COMMON [43] => Allgemein [cat_name] => Allgemein [44] => 0 [cat_hidden] => 0 [45] => 0 [cat_system] => 0 [46] => 0 [cat_default] => 0 [47] => 1 [cat_sequence] => 1 [48] => 1 [cat_usr_id_create] => 1 [49] => 2012-01-08 11:12:05 [cat_timestamp_create] => 2012-01-08 11:12:05 [50] => [cat_usr_id_change] => [51] => [cat_timestamp_change] => [52] => 145 [num_members] => 145 [53] => 0 [num_leader] => 0 [54] => 5 [num_former] => 5 )
[parameter] => Array
(
[active_role] => 1
[calendar-selection] => 1
[cat_id] => 0
[category-selection] => 1
[date] =>
[daterange] => Array
(
[english] => Array
(
[start_date] => 2013-09-24
[end_date] => 9999-12-31
)
[system] => Array
(
[start_date] => 24.09.2013
[end_date] => 31.12.9999
)
)
[headline] => Übersicht der aktiven Rollen
[id] => 0
[mode] => Default
[order] => ASC
[startelement] => 0
[view_mode] => Default
)
)
Endcode
Par: Returned Array
Located at modulelists.php
Methods summary
public
|
|
private
string
|
|
private
string
|
|
private
string
|
|
public
array
|
#
getDataSet( integer $startElement = 0, integer $limit = null )
Function returns a set of lists with corresponding information |
public
integer
|
|
public
array
|
|
public
|
Methods inherited from Modules
getDaterange()
,
getId()
,
getMode()
,
getOrder()
,
getParameter()
,
getParameters()
,
getStartElement()
,
setId()
,
setMode()
,
setOrder()
,
setParameter()
,
setStartElement()
Constants summary
Properties summary
private
|
$memberStatus
|
Properties inherited from Modules
$activeRole
,
$arrParameter
,
$catId
,
$daterange
,
$headline
,
$id
,
$mode
,
$order
,
$parameters
,
$properties
,
$start
,
$validModes