|
ILIAS
release_7 Revision v7.30-3-g800a261c036
|
external link search bridge More...
Inheritance diagram for ilADTExternalLinkSearchBridgeSingle:
Collaboration diagram for ilADTExternalLinkSearchBridgeSingle:Public Member Functions | |
| loadFilter () | |
| Load from filter. More... | |
| addToForm () | |
| add external link property to form More... | |
| importFromPost (array $a_post=null) | |
| Import from post. More... | |
| getSQLCondition ($a_element_id, $a_mode=self::SQL_LIKE, $a_value=null) | |
| Get sql condition. More... | |
| isInCondition (ilADT $a_adt) | |
| Is in condition. More... | |
| getSerializedValue () | |
| get serialized value More... | |
| setSerializedValue ($a_value) | |
| Set serialized value. More... | |
Public Member Functions inherited from ilADTSearchBridgeSingle | |
| getADT () | |
| Get 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... | |
| getSearchColumn () | |
| 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... | |
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 | DEFAULT_SEARCH_COLUMN = 'value' |
Protected Member Functions | |
| isValidADTDefinition (\ilADTDefinition $a_adt_def) | |
| Is valid type. More... | |
Protected Member Functions inherited from ilADTSearchBridgeSingle | |
| 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... | |
Additional Inherited Members | |
Protected Attributes inherited from ilADTSearchBridgeSingle | |
| $adt | |
Protected Attributes inherited from ilADTSearchBridge | |
| $form | |
| $table_gui | |
| $table_filter_fields = [] | |
| $id | |
| $title | |
| $info | |
external link search bridge
Definition at line 11 of file class.ilADTExternalLinkSearchBridgeSingle.php.
| ilADTExternalLinkSearchBridgeSingle::addToForm | ( | ) |
add external link property to form
Reimplemented from ilADTSearchBridge.
Definition at line 44 of file class.ilADTExternalLinkSearchBridgeSingle.php.
References $url, ilADTSearchBridge\addToParentElement(), ilADTSearchBridgeSingle\getADT(), ilADTSearchBridge\getElementId(), and ilADTSearchBridge\getTitle().
Here is the call graph for this function:| ilADTExternalLinkSearchBridgeSingle::getSerializedValue | ( | ) |
get serialized value
Reimplemented from ilADTSearchBridge.
Definition at line 153 of file class.ilADTExternalLinkSearchBridgeSingle.php.
References ilADTSearchBridgeSingle\getADT(), ilADTSearchBridgeSingle\isNull(), and ilADTSearchBridgeSingle\isValid().
Here is the call graph for this function:| ilADTExternalLinkSearchBridgeSingle::getSQLCondition | ( | $a_element_id, | |
$a_mode = self::SQL_LIKE, |
|||
$a_value = null |
|||
| ) |
Get sql condition.
| int | $a_element_id |
Definition at line 84 of file class.ilADTExternalLinkSearchBridgeSingle.php.
References $GLOBALS, 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:| ilADTExternalLinkSearchBridgeSingle::importFromPost | ( | array | $a_post = null | ) |
Import from post.
| array | $a_post |
Reimplemented from ilADTSearchBridge.
Definition at line 58 of file class.ilADTExternalLinkSearchBridgeSingle.php.
References ilADTSearchBridge\extractPostValues(), ilADTSearchBridgeSingle\getADT(), ilADTSearchBridge\getElementId(), ilADTSearchBridge\getForm(), ilADTSearchBridge\shouldBeImportedFromPost(), and ilADTSearchBridge\writeFilter().
Here is the call graph for this function:| ilADTExternalLinkSearchBridgeSingle::isInCondition | ( | ilADT | $a_adt | ) |
Is in condition.
| ilADT | $a_adt |
Reimplemented from ilADTSearchBridge.
Definition at line 139 of file class.ilADTExternalLinkSearchBridgeSingle.php.
References ilADTSearchBridgeSingle\getADT().
Here is the call graph for this function:
|
protected |
Is valid type.
| ilADT | $a_adt |
Definition at line 24 of file class.ilADTExternalLinkSearchBridgeSingle.php.
| ilADTExternalLinkSearchBridgeSingle::loadFilter | ( | ) |
Load from filter.
Reimplemented from ilADTSearchBridge.
Definition at line 33 of file class.ilADTExternalLinkSearchBridgeSingle.php.
References ilADTSearchBridgeSingle\getADT(), and ilADTSearchBridge\readFilter().
Here is the call graph for this function:| ilADTExternalLinkSearchBridgeSingle::setSerializedValue | ( | $a_value | ) |
Set serialized value.
| string | $a_value |
Reimplemented from ilADTSearchBridge.
Definition at line 164 of file class.ilADTExternalLinkSearchBridgeSingle.php.
References ilADTSearchBridgeSingle\getADT().
Here is the call graph for this function:| const ilADTExternalLinkSearchBridgeSingle::SQL_LIKE = 2 |
Definition at line 14 of file class.ilADTExternalLinkSearchBridgeSingle.php.
Referenced by getSQLCondition().
| const ilADTExternalLinkSearchBridgeSingle::SQL_LIKE_END = 3 |
Definition at line 15 of file class.ilADTExternalLinkSearchBridgeSingle.php.
Referenced by getSQLCondition().
| const ilADTExternalLinkSearchBridgeSingle::SQL_LIKE_START = 4 |
Definition at line 16 of file class.ilADTExternalLinkSearchBridgeSingle.php.
Referenced by getSQLCondition().
| const ilADTExternalLinkSearchBridgeSingle::SQL_STRICT = 1 |
Definition at line 13 of file class.ilADTExternalLinkSearchBridgeSingle.php.
Referenced by getSQLCondition().