|
ILIAS
release_8 Revision v8.24
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Inheritance diagram for ilADTDateSearchBridgeRange:
Collaboration diagram for ilADTDateSearchBridgeRange:Public Member Functions | |
| loadFilter () | |
| Load filter value(s) into ADT. More... | |
| addToForm () | |
| Add ADT-specific fields to form. More... | |
| importFromPost (array $a_post=null) | |
| getSQLCondition (string $a_element_id, int $mode=self::SQL_LIKE, array $quotedWords=[]) | |
| 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 (string $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 upper ADT. More... | |
| isNull () | |
| isValid () | |
| validate () | |
| Validate current data. More... | |
Public Member Functions inherited from ilADTSearchBridge | |
| __construct (ilADTDefinition $a_adt_def) | |
| isNull () | |
| setForm (ilPropertyFormGUI $a_form) | |
| getForm () | |
| setElementId (string $a_value) | |
| getElementId () | |
| setTitle (string $a_value) | |
| getTitle () | |
| getSearchColumn () | |
| setTableGUI (ilTable2GUI $a_table) | |
| 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) | |
| validate () | |
| Validate current data. More... | |
| getSQLCondition (string $a_element_id, int $mode=self::SQL_LIKE, array $quotedWords=[]) | |
| 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 (string $a_value) | |
| Set current value(s) in serialized form (for easy persisting) More... | |
Protected Member Functions | |
| isValidADTDefinition (ilADTDefinition $a_adt_def) | |
| shouldBeImportedFromPost ($a_post) | |
| Check if incoming values should be imported at all. More... | |
Protected Member Functions inherited from ilADTSearchBridgeRange | |
| setDefinition (ilADTDefinition $a_adt_def) | |
Protected Member Functions inherited from ilADTSearchBridge | |
| isValidADTDefinition (ilADTDefinition $a_adt_def) | |
| setDefinition (ilADTDefinition $a_adt_def) | |
| 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 (string $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 | |
Data Fields inherited from ilADTSearchBridge | |
| const | SQL_STRICT = 1 |
| const | SQL_LIKE = 2 |
| const | SQL_LIKE_END = 3 |
| const | SQL_LIKE_START = 4 |
| const | DEFAULT_SEARCH_COLUMN = 'value' |
Protected Attributes inherited from ilADTSearchBridgeRange | |
| ilADT | $adt_lower |
| ilADT | $adt_upper |
Protected Attributes inherited from ilADTSearchBridge | |
| ilPropertyFormGUI | $form = null |
| ilTable2GUI | $table_gui = null |
| array | $table_filter_fields = [] |
| string | $id = '' |
| string | $title = '' |
| string | $info = '' |
| ilLanguage | $lng |
| ilDBInterface | $db |
| HttpServices | $http |
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning Class ilADTDateSearchBridgeRange
Definition at line 24 of file class.ilADTDateSearchBridgeRange.php.
| ilADTDateSearchBridgeRange::addToForm | ( | ) |
Add ADT-specific fields to form.
Reimplemented from ilADTSearchBridge.
Definition at line 48 of file class.ilADTDateSearchBridgeRange.php.
References $check, ilADTSearchBridge\addToElementId(), ilADTSearchBridge\addToParentElement(), ilCombinationInputGUI\COMPARISON_ASCENDING, ilADTSearchBridge\getElementId(), ilADTSearchBridge\getForm(), ilADTSearchBridgeRange\getLowerADT(), ilADTSearchBridge\getTitle(), ilADTSearchBridgeRange\getUpperADT(), ilADTSearchBridgeRange\isNull(), and ILIAS\Repository\lng().
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 178 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 | ( | string | $a_element_id, |
| int | $mode = self::SQL_LIKE, |
||
| array | $quotedWords = [] |
||
| ) |
Get SQL condition for current value(s)
Reimplemented from ilADTSearchBridge.
Definition at line 142 of file class.ilADTDateSearchBridgeRange.php.
References 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 | ) |
Reimplemented from ilADTSearchBridge.
Definition at line 103 of file class.ilADTDateSearchBridgeRange.php.
References $post, ilADTSearchBridge\extractPostValues(), ilADTSearchBridge\getElementId(), ilADTSearchBridge\getForm(), ilADTSearchBridgeRange\getLowerADT(), ilADTSearchBridgeRange\getUpperADT(), IL_CAL_DATE, IL_CAL_UNIX, ilCalendarUtil\parseIncomingDate(), shouldBeImportedFromPost(), and ilADTSearchBridge\writeFilter().
Here is the call graph for this function:| ilADTDateSearchBridgeRange::isInCondition | ( | ilADT | $a_adt | ) |
Compare directly against ADT.
Reimplemented from ilADTSearchBridge.
Definition at line 163 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 |
Reimplemented from ilADTSearchBridge.
Definition at line 26 of file class.ilADTDateSearchBridgeRange.php.
| ilADTDateSearchBridgeRange::loadFilter | ( | ) |
Load filter value(s) into ADT.
Reimplemented from ilADTSearchBridge.
Definition at line 33 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 | ( | string | $a_value | ) |
Set current value(s) in serialized form (for easy persisting)
Reimplemented from ilADTSearchBridge.
Definition at line 193 of file class.ilADTDateSearchBridgeRange.php.
References ilADTSearchBridgeRange\getLowerADT(), ilADTSearchBridgeRange\getUpperADT(), and IL_CAL_DATE.
Here is the call graph for this function:
|
protected |
Check if incoming values should be imported at all.
| string | int | $a_post |
Reimplemented from ilADTSearchBridge.
Definition at line 95 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: