|
ILIAS
release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
|
Inheritance diagram for ilADTDateSearchBridgeRange:
Collaboration diagram for ilADTDateSearchBridgeRange:Public Member Functions | |
| setTextInputMode ($a_value) | |
| 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... | |
| getSQLCondition ($a_element_id) | |
| Get SQL condition for current value(s) More... | |
| isInCondition (ilADTDate $a_adt) | |
| 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... | |
Public Member Functions inherited from ilADTSearchBridgeRange | |
| getLowerADT () | |
| Get lower ADT. More... | |
| getUpperADT () | |
| Get lower ADT. More... | |
| isNull () | |
| Is null ? More... | |
| isValid () | |
| validate () | |
| Validate current data. More... | |
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) | |
| Check if given ADT definition is valid. More... | |
| shouldBeImportedFromPost (array $a_post) | |
Protected Member Functions inherited from ilADTSearchBridgeRange | |
| setDefinition (ilADTDefinition $a_adt_def) | |
| Set ADT definition. More... | |
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... | |
Protected Attributes | |
| $text_input | |
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.ilADTDateSearchBridgeRange.php.
| ilADTDateSearchBridgeRange::addToForm | ( | ) |
Add ADT-specific fields to form.
Reimplemented from ilADTSearchBridge.
Definition at line 41 of file class.ilADTDateSearchBridgeRange.php.
References $lng, ilADTSearchBridge\addToElementId(), ilADTSearchBridge\addToParentElement(), ilCombinationInputGUI\COMPARISON_ASCENDING, ilADTSearchBridge\getElementId(), ilADTSearchBridge\getForm(), ilADTSearchBridgeRange\getLowerADT(), ilADTSearchBridge\getTitle(), ilADTSearchBridgeRange\getUpperADT(), ilADTSearchBridgeRange\isNull(), and ilDateTimeInputGUI\MODE_INPUT.
Here is the call graph for this function:| ilADTDateSearchBridgeRange::getSerializedValue | ( | ) |
Get current value(s) in serialized form (for easy persisting)
Reimplemented from ilADTSearchBridge.
Definition at line 256 of file class.ilADTDateSearchBridgeRange.php.
References $res, ilADTSearchBridgeRange\getLowerADT(), ilADTSearchBridgeRange\getUpperADT(), IL_CAL_DATE, ilADTSearchBridgeRange\isNull(), and ilADTSearchBridgeRange\isValid().
Here is the call graph for this function:| ilADTDateSearchBridgeRange::getSQLCondition | ( | $a_element_id | ) |
Get SQL condition for current value(s)
| string | $a_element_id |
Reimplemented from ilADTSearchBridge.
Definition at line 218 of file class.ilADTDateSearchBridgeRange.php.
References $ilDB, ilADTSearchBridgeRange\getLowerADT(), ilADTSearchBridgeRange\getUpperADT(), IL_CAL_DATE, ilADTSearchBridgeRange\isNull(), and ilADTSearchBridgeRange\isValid().
Here is the call graph for this function:| ilADTDateSearchBridgeRange::importFromPost | ( | array | $a_post = null | ) |
Import values from (search) form request POST data.
Reimplemented from ilADTSearchBridge.
Definition at line 132 of file class.ilADTDateSearchBridgeRange.php.
References ilADTSearchBridge\extractPostValues(), ilADTSearchBridge\getElementId(), ilADTSearchBridge\getForm(), ilADTSearchBridgeRange\getLowerADT(), ilADTSearchBridgeRange\getUpperADT(), ilADTDateSearchUtil\handleSelectInputPost(), ilADTDateSearchUtil\handleTextInputPost(), IL_CAL_DATE, IL_CAL_UNIX, ilADTDateSearchUtil\MODE_DATE, shouldBeImportedFromPost(), and ilADTSearchBridge\writeFilter().
Here is the call graph for this function:| ilADTDateSearchBridgeRange::isInCondition | ( | ilADTDate | $a_adt | ) |
Definition at line 237 of file class.ilADTDateSearchBridgeRange.php.
References ilADTSearchBridgeRange\getLowerADT(), ilADTSearchBridgeRange\getUpperADT(), ilADT\isInbetweenOrEqual(), ilADT\isLargerOrEqual(), ilADTSearchBridgeRange\isNull(), and ilADT\isSmallerOrEqual().
Here is the call graph for this function:
|
protected |
Check if given ADT definition is valid.
:TODO: This could be avoided with type-specifc constructors :TODO: bridge base class?
| ilADTDefinition | $a_adt_def |
Reimplemented from ilADTSearchBridge.
Definition at line 9 of file class.ilADTDateSearchBridgeRange.php.
| ilADTDateSearchBridgeRange::loadFilter | ( | ) |
Load filter value(s) into ADT.
Reimplemented from ilADTSearchBridge.
Definition at line 22 of file class.ilADTDateSearchBridgeRange.php.
References ilADTSearchBridgeRange\getLowerADT(), ilADTSearchBridgeRange\getUpperADT(), IL_CAL_DATE, and ilADTSearchBridge\readFilter().
Here is the call graph for this function:| ilADTDateSearchBridgeRange::setSerializedValue | ( | $a_value | ) |
Set current value(s) in serialized form (for easy persisting)
| string |
Reimplemented from ilADTSearchBridge.
Definition at line 273 of file class.ilADTDateSearchBridgeRange.php.
References ilADTSearchBridgeRange\getLowerADT(), ilADTSearchBridgeRange\getUpperADT(), and IL_CAL_DATE.
Here is the call graph for this function:| ilADTDateSearchBridgeRange::setTextInputMode | ( | $a_value | ) |
Definition at line 14 of file class.ilADTDateSearchBridgeRange.php.
|
protected |
Definition at line 122 of file class.ilADTDateSearchBridgeRange.php.
References ilADTSearchBridge\getForm().
Referenced by importFromPost().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 7 of file class.ilADTDateSearchBridgeRange.php.