Class Modules
Direct known subclasses
ModuleAnnouncements
,
ModuleDates
,
ModuleLists
,
ModuleWeblinks
Copyright: 2004-2016 The Admidio Team
License: GNU General Public License v2.0 only **********************************************************************************************
Brief:
This @b abstract @b class defines a parameter set for modules
This abstract class sets the parameters used in Admidio modules. The class gets a copy of the $_GET Array and validates the values with Admidio function admFuncVariableIsValid(); Values are set to default if no parameters are submitted. The class also defines a daterange and returns the daterange as array with English format and current System format. If no values are available the daterange is set by default: date_from = DATE_NOW; date_to = 9999-12-31 The class provides methods to return all single Variables and arrays or returns an Array with all setted parameters The returned array contains following settings:
Class: Modules
Code:
array('active_role' => '1', 'headline' => 'string', 'category-selection' => '0', 'cat_id' => '0', 'calendar-selection' => '1', 'id' => 'integer', 'mode' => 'string', 'order' => 'ASC' 'startelement' => 0 'view_mode' => 'string', 'daterange' => array( [english] (date_from => 'string', date_to => 'string'), [sytem] (date_from => 'string', date_to => 'string')) );
Endcode
Par: Return parameter array:
Located at modules.php
Methods summary
abstract public
array
|
|
abstract public
mixed
|
|
public
|
#
__construct( )
Constructor that will create an object of a parameter set needed in modules to get the recordsets. Initialize parameters |
public
integer
|
|
public
array[]
|
|
public
string
|
|
public
string
|
|
public
integer
|
|
public
mixed|null
|
|
public
array
|
|
protected
|
|
protected
|
|
protected
|
|
protected
|
|
public
|
Properties summary
protected
|
$activeRole
|
|
protected
|
$headline
|
|
protected
|
$catId
|
|
protected
|
$id
|
|
protected
|
$daterange
|
|
protected
|
$mode
|
|
protected
|
$order
|
|
protected
|
$start
|
|
protected
|
$properties
|
|
protected
|
$validModes
|
|
protected
|
$parameters
|
|
public
|
$arrParameter
|