ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Public Member Functions | |
loadFilter () | |
addToForm () | |
importFromPost (array $a_post=null) | |
getSQLCondition ($a_element_id) | |
isInCondition (ilADT $a_adt) | |
getSerializedValue () | |
setSerializedValue ($a_value) | |
Public Member Functions inherited from ilADTSearchBridgeRange | |
getLowerADT () | |
Get lower ADT. More... | |
getUpperADT () | |
Get lower ADT. More... | |
isNull () | |
isValid () | |
validate () | |
Public Member Functions inherited from ilADTSearchBridge | |
__construct (ilADTDefinition $a_adt_def) | |
Constructor. More... | |
isNull () | |
Is null ? More... | |
setForm (ilPropertyFormGUI $a_form) | |
Set form. More... | |
getForm () | |
Get form. More... | |
setElementId ($a_value) | |
Set element id (aka form field) More... | |
getElementId () | |
Get element id. More... | |
setTitle ($a_value) | |
Set title (aka form field caption) More... | |
getTitle () | |
Get title. More... | |
setTableGUI (ilTable2GUI $a_table) | |
Set table gui (for filter mode) More... | |
getTableGUI () | |
Get table gui. More... | |
loadFilter () | |
Load filter value(s) into ADT. More... | |
addToForm () | |
Add ADT-specific fields to form. More... | |
importFromPost (array $a_post=null) | |
Import values from (search) form request POST data. More... | |
validate () | |
Validate current data. More... | |
getSQLCondition ($a_element_id) | |
Get SQL condition for current value(s) More... | |
isInCondition (ilADT $a_adt) | |
Compare directly against ADT. More... | |
getSerializedValue () | |
Get current value(s) in serialized form (for easy persisting) More... | |
setSerializedValue ($a_value) | |
Set current value(s) in serialized form (for easy persisting) More... | |
Protected Member Functions | |
isValidADTDefinition (ilADTDefinition $a_adt_def) | |
shouldBeImportedFromPost ($a_post) | |
Protected Member Functions inherited from ilADTSearchBridgeRange | |
setDefinition (ilADTDefinition $a_adt_def) | |
Protected Member Functions inherited from ilADTSearchBridge | |
isValidADTDefinition (ilADTDefinition $a_adt_def) | |
Check if given ADT definition is valid. More... | |
setDefinition (ilADTDefinition $a_adt_def) | |
Set ADT definition. More... | |
writeFilter ($a_value=null) | |
Write value(s) to filter store (in session) More... | |
readFilter () | |
Load value(s) from filter store (in session) More... | |
addToParentElement (ilFormPropertyGUI $a_field) | |
Add form field to parent element. More... | |
addToElementId ($a_add) | |
Add sub-element. More... | |
shouldBeImportedFromPost ($a_post) | |
Check if incoming values should be imported at all. More... | |
extractPostValues (array $a_post=null) | |
Extract data from (post) values. More... | |
Additional Inherited Members | |
Protected Attributes inherited from ilADTSearchBridgeRange | |
$adt_lower | |
$adt_upper | |
Protected Attributes inherited from ilADTSearchBridge | |
$form | |
$table_gui | |
$table_filter_fields = [] | |
$id | |
$title | |
$info | |
Definition at line 5 of file class.ilADTDateTimeSearchBridgeRange.php.
ilADTDateTimeSearchBridgeRange::addToForm | ( | ) |
Definition at line 31 of file class.ilADTDateTimeSearchBridgeRange.php.
References $lng, ilADTSearchBridge\addToElementId(), ilADTSearchBridge\addToParentElement(), ilCombinationInputGUI\COMPARISON_ASCENDING, ilADTSearchBridge\getElementId(), ilADTSearchBridge\getForm(), ilADTSearchBridgeRange\getLowerADT(), ilADTSearchBridge\getTitle(), ilADTSearchBridgeRange\getUpperADT(), ilADTSearchBridgeRange\isNull(), and ilDateTimeInputGUI\setShowTime().
ilADTDateTimeSearchBridgeRange::getSerializedValue | ( | ) |
Definition at line 169 of file class.ilADTDateTimeSearchBridgeRange.php.
References $res, array, ilADTSearchBridgeRange\getLowerADT(), ilADTSearchBridgeRange\getUpperADT(), IL_CAL_DATETIME, ilADTSearchBridgeRange\isNull(), and ilADTSearchBridgeRange\isValid().
ilADTDateTimeSearchBridgeRange::getSQLCondition | ( | $a_element_id | ) |
Definition at line 137 of file class.ilADTDateTimeSearchBridgeRange.php.
References $ilDB, array, ilADTSearchBridgeRange\getLowerADT(), ilADTSearchBridgeRange\getUpperADT(), IL_CAL_DATETIME, ilADTSearchBridgeRange\isNull(), and ilADTSearchBridgeRange\isValid().
ilADTDateTimeSearchBridgeRange::importFromPost | ( | array | $a_post = null | ) |
Definition at line 96 of file class.ilADTDateTimeSearchBridgeRange.php.
References $end, $post, array, ilADTSearchBridge\extractPostValues(), ilADTSearchBridge\getElementId(), ilADTSearchBridge\getForm(), ilADTSearchBridgeRange\getLowerADT(), ilADTSearchBridgeRange\getUpperADT(), IL_CAL_DATETIME, IL_CAL_UNIX, ilCalendarUtil\parseIncomingDate(), shouldBeImportedFromPost(), and ilADTSearchBridge\writeFilter().
ilADTDateTimeSearchBridgeRange::isInCondition | ( | ilADT | $a_adt | ) |
Definition at line 153 of file class.ilADTDateTimeSearchBridgeRange.php.
References ilADTSearchBridgeRange\getLowerADT(), ilADTSearchBridgeRange\getUpperADT(), ilADT\isInbetweenOrEqual(), ilADT\isLargerOrEqual(), ilADTSearchBridgeRange\isNull(), and ilADT\isSmallerOrEqual().
|
protected |
Definition at line 7 of file class.ilADTDateTimeSearchBridgeRange.php.
ilADTDateTimeSearchBridgeRange::loadFilter | ( | ) |
Definition at line 15 of file class.ilADTDateTimeSearchBridgeRange.php.
References ilADTSearchBridgeRange\getLowerADT(), ilADTSearchBridgeRange\getUpperADT(), IL_CAL_DATETIME, and ilADTSearchBridge\readFilter().
ilADTDateTimeSearchBridgeRange::setSerializedValue | ( | $a_value | ) |
Definition at line 183 of file class.ilADTDateTimeSearchBridgeRange.php.
References ilADTSearchBridgeRange\getLowerADT(), ilADTSearchBridgeRange\getUpperADT(), and IL_CAL_DATETIME.
|
protected |
Definition at line 87 of file class.ilADTDateTimeSearchBridgeRange.php.
References ilADTSearchBridge\getForm().
Referenced by importFromPost().