|
ILIAS
release_8 Revision v8.24
|
external link search bridge More...
Inheritance diagram for ilADTInternalLinkSearchBridgeSingle:
Collaboration diagram for ilADTInternalLinkSearchBridgeSingle:Public Member Functions | |
| setTitleQuery (string $query) | |
| getTitleQuery () | |
| addToForm () | |
| Add ADT-specific fields to form. More... | |
| loadFilter () | |
| Load from filter. More... | |
| importFromPost (array $a_post=null) | |
| getSQLCondition (string $a_element_id, int $mode=self::SQL_LIKE, array $quotedWords=[]) | |
| Get sql condition. More... | |
| isInCondition (ilADT $a_adt) | |
| Is in condition. More... | |
| getSerializedValue () | |
| get serialized value More... | |
| setSerializedValue (string $a_value) | |
| Set serialized value. 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... | |
| 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) | |
| Is valid type. More... | |
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... | |
Private Attributes | |
| $title_query = '' | |
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 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 |
external link search bridge
Definition at line 26 of file class.ilADTInternalLinkSearchBridgeSingle.php.
| ilADTInternalLinkSearchBridgeSingle::addToForm | ( | ) |
Add ADT-specific fields to form.
Reimplemented from ilADTSearchBridge.
Definition at line 53 of file class.ilADTInternalLinkSearchBridgeSingle.php.
References ilADTSearchBridge\$title, ilADTSearchBridge\addToParentElement(), ilADTSearchBridge\getElementId(), ilADTSearchBridge\getTitle(), and getTitleQuery().
Here is the call graph for this function:| ilADTInternalLinkSearchBridgeSingle::getSerializedValue | ( | ) |
get serialized value
Reimplemented from ilADTSearchBridge.
Definition at line 148 of file class.ilADTInternalLinkSearchBridgeSingle.php.
References ilADTSearchBridgeSingle\getADT(), ilADTSearchBridgeSingle\isNull(), and ilADTSearchBridgeSingle\isValid().
Here is the call graph for this function:| ilADTInternalLinkSearchBridgeSingle::getSQLCondition | ( | string | $a_element_id, |
| int | $mode = self::SQL_LIKE, |
||
| array | $quotedWords = [] |
||
| ) |
Get sql condition.
| string | $a_element_id | |
| int | $mode | |
| array | $quotedWords |
Reimplemented from ilADTSearchBridge.
Definition at line 104 of file class.ilADTInternalLinkSearchBridgeSingle.php.
References ilADTSearchBridgeSingle\getADT(), ilADTSearchBridgeSingle\isNull(), and ilADTSearchBridgeSingle\isValid().
Here is the call graph for this function:| ilADTInternalLinkSearchBridgeSingle::getTitleQuery | ( | ) |
Definition at line 45 of file class.ilADTInternalLinkSearchBridgeSingle.php.
References $title_query.
Referenced by addToForm(), and isInCondition().
Here is the caller graph for this function:| ilADTInternalLinkSearchBridgeSingle::importFromPost | ( | array | $a_post = null | ) |
Reimplemented from ilADTSearchBridge.
Definition at line 73 of file class.ilADTInternalLinkSearchBridgeSingle.php.
References $post, ilADTSearchBridge\extractPostValues(), ilADTSearchBridgeSingle\getADT(), ilADTSearchBridge\getElementId(), ilADTSearchBridge\getForm(), setTitleQuery(), ilADTSearchBridge\shouldBeImportedFromPost(), and ilADTSearchBridge\writeFilter().
Here is the call graph for this function:| ilADTInternalLinkSearchBridgeSingle::isInCondition | ( | ilADT | $a_adt | ) |
Is in condition.
| ilADT | $a_adt |
Reimplemented from ilADTSearchBridge.
Definition at line 131 of file class.ilADTInternalLinkSearchBridgeSingle.php.
References $query, $ref_id, ilADTSearchBridge\$title, ilObject\_lookupObjId(), ilObject\_lookupTitle(), ilADTSearchBridgeSingle\getADT(), and getTitleQuery().
Here is the call graph for this function:
|
protected |
Is valid type.
| ilADT | $a_adt |
Definition at line 35 of file class.ilADTInternalLinkSearchBridgeSingle.php.
| ilADTInternalLinkSearchBridgeSingle::loadFilter | ( | ) |
Load from filter.
Reimplemented from ilADTSearchBridge.
Definition at line 64 of file class.ilADTInternalLinkSearchBridgeSingle.php.
References ilADTSearchBridgeSingle\getADT(), ilADTSearchBridge\readFilter(), and setTitleQuery().
Here is the call graph for this function:| ilADTInternalLinkSearchBridgeSingle::setSerializedValue | ( | string | $a_value | ) |
Set serialized value.
| string | $a_value |
Reimplemented from ilADTSearchBridge.
Definition at line 160 of file class.ilADTInternalLinkSearchBridgeSingle.php.
References ilADTSearchBridgeSingle\getADT().
Here is the call graph for this function:| ilADTInternalLinkSearchBridgeSingle::setTitleQuery | ( | string | $query | ) |
Definition at line 40 of file class.ilADTInternalLinkSearchBridgeSingle.php.
References $query.
Referenced by importFromPost(), and loadFilter().
Here is the caller graph for this function:
|
private |
Definition at line 28 of file class.ilADTInternalLinkSearchBridgeSingle.php.
Referenced by getTitleQuery().