|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
Inheritance diagram for ilADTTextSearchBridgeSingle:
Collaboration diagram for ilADTTextSearchBridgeSingle:Public Member Functions | |
| loadFilter () | |
| Load filter value(s) into ADT. More... | |
| addToForm () | |
| Add ADT-specific fields to form. More... | |
| addToFilterForm () | |
| Add ADT-specific fields to filter. 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 ilADTSearchBridgeSingle | |
| getADT () | |
| Get 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... | |
| addToFilterForm () | |
| Add ADT-specific fields to filter. 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... | |
Data Fields | |
| const | SQL_STRICT = 1 |
| const | SQL_LIKE = 2 |
| const | SQL_LIKE_END = 3 |
| const | SQL_LIKE_START = 4 |
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 Member Functions | |
| isValidADTDefinition (ilADTDefinition $a_adt_def) | |
| addTextInputToForm (bool $submit_on_enter) | |
Protected Member Functions inherited from ilADTSearchBridgeSingle | |
| 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 | |
Protected Attributes inherited from ilADTSearchBridgeSingle | |
| ilADT | $adt |
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 |
Definition at line 21 of file class.ilADTTextSearchBridgeSingle.php.
|
protected |
Definition at line 55 of file class.ilADTTextSearchBridgeSingle.php.
References $text, ilADTSearchBridge\addToParentElement(), ilADTSearchBridgeSingle\getADT(), ilADTSearchBridge\getElementId(), and ilADTSearchBridge\getTitle().
Referenced by ilADTLocalizedTextSearchBridgeSingle\addToFilterForm(), addToFilterForm(), ilADTLocalizedTextSearchBridgeSingle\addToForm(), and addToForm().
Here is the call graph for this function:
Here is the caller graph for this function:| ilADTTextSearchBridgeSingle::addToFilterForm | ( | ) |
Add ADT-specific fields to filter.
This needs to be separated from other forms to avoid weird js interactions, but can probably be dropped when moving to KS (see #39225).
Reimplemented from ilADTSearchBridge.
Reimplemented in ilADTLocalizedTextSearchBridgeSingle.
Definition at line 50 of file class.ilADTTextSearchBridgeSingle.php.
References addTextInputToForm().
Here is the call graph for this function:| ilADTTextSearchBridgeSingle::addToForm | ( | ) |
Add ADT-specific fields to form.
Reimplemented from ilADTSearchBridge.
Reimplemented in ilADTLocalizedTextSearchBridgeSingle.
Definition at line 45 of file class.ilADTTextSearchBridgeSingle.php.
References addTextInputToForm().
Here is the call graph for this function:| ilADTTextSearchBridgeSingle::getSerializedValue | ( | ) |
Get current value(s) in serialized form (for easy persisting)
Reimplemented from ilADTSearchBridge.
Reimplemented in ilADTLocalizedTextSearchBridgeSingle.
Definition at line 151 of file class.ilADTTextSearchBridgeSingle.php.
References ilADTSearchBridgeSingle\getADT(), ilADTSearchBridgeSingle\isNull(), and ilADTSearchBridgeSingle\isValid().
Here is the call graph for this function:| ilADTTextSearchBridgeSingle::getSQLCondition | ( | string | $a_element_id, |
| int | $mode = self::SQL_LIKE, |
||
| array | $quotedWords = [] |
||
| ) |
Get SQL condition for current value(s)
Reimplemented from ilADTSearchBridge.
Reimplemented in ilADTLocalizedTextSearchBridgeSingle.
Definition at line 90 of file class.ilADTTextSearchBridgeSingle.php.
References ilADTSearchBridgeSingle\getADT(), ilADTSearchBridgeSingle\isNull(), ilADTSearchBridgeSingle\isValid(), SQL_LIKE, SQL_LIKE_END, SQL_LIKE_START, and SQL_STRICT.
Here is the call graph for this function:| ilADTTextSearchBridgeSingle::importFromPost | ( | ?array | $a_post = null | ) |
Reimplemented from ilADTSearchBridge.
Reimplemented in ilADTLocalizedTextSearchBridgeSingle.
Definition at line 67 of file class.ilADTTextSearchBridgeSingle.php.
References $post, ilADTSearchBridge\extractPostValues(), ilADTSearchBridgeSingle\getADT(), ilADTSearchBridge\getElementId(), ilADTSearchBridge\getForm(), ilADTSearchBridge\shouldBeImportedFromPost(), and ilADTSearchBridge\writeFilter().
Here is the call graph for this function:| ilADTTextSearchBridgeSingle::isInCondition | ( | ilADT | $a_adt | ) |
Compare directly against ADT.
This is currently only used in ilAdvancedMDValues::queryForRecords, e.g. in the filter of mediapools. Other filter/search use cases use instead getSQLCondition.
Reimplemented from ilADTSearchBridge.
Reimplemented in ilADTLocalizedTextSearchBridgeSingle.
Definition at line 139 of file class.ilADTTextSearchBridgeSingle.php.
References $text, and ilADTSearchBridgeSingle\getADT().
Here is the call graph for this function:
|
protected |
Reimplemented from ilADTSearchBridge.
Reimplemented in ilADTLocalizedTextSearchBridgeSingle.
Definition at line 28 of file class.ilADTTextSearchBridgeSingle.php.
| ilADTTextSearchBridgeSingle::loadFilter | ( | ) |
Load filter value(s) into ADT.
Reimplemented from ilADTSearchBridge.
Reimplemented in ilADTLocalizedTextSearchBridgeSingle.
Definition at line 35 of file class.ilADTTextSearchBridgeSingle.php.
References ilADTSearchBridgeSingle\getADT(), and ilADTSearchBridge\readFilter().
Here is the call graph for this function:| ilADTTextSearchBridgeSingle::setSerializedValue | ( | string | $a_value | ) |
Set current value(s) in serialized form (for easy persisting)
Reimplemented from ilADTSearchBridge.
Reimplemented in ilADTLocalizedTextSearchBridgeSingle.
Definition at line 159 of file class.ilADTTextSearchBridgeSingle.php.
References ilADTSearchBridgeSingle\getADT().
Here is the call graph for this function:| const ilADTTextSearchBridgeSingle::SQL_LIKE = 2 |
Definition at line 24 of file class.ilADTTextSearchBridgeSingle.php.
Referenced by ilADTLocalizedTextSearchBridgeSingle\getSQLCondition(), and getSQLCondition().
| const ilADTTextSearchBridgeSingle::SQL_LIKE_END = 3 |
Definition at line 25 of file class.ilADTTextSearchBridgeSingle.php.
Referenced by ilADTLocalizedTextSearchBridgeSingle\getSQLCondition(), and getSQLCondition().
| const ilADTTextSearchBridgeSingle::SQL_LIKE_START = 4 |
Definition at line 26 of file class.ilADTTextSearchBridgeSingle.php.
Referenced by ilADTLocalizedTextSearchBridgeSingle\getSQLCondition(), and getSQLCondition().
| const ilADTTextSearchBridgeSingle::SQL_STRICT = 1 |
Definition at line 23 of file class.ilADTTextSearchBridgeSingle.php.
Referenced by ilADTLocalizedTextSearchBridgeSingle\getSQLCondition(), and getSQLCondition().