|
ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Inheritance diagram for ilADTLocationSearchBridgeSingle:
Collaboration diagram for ilADTLocationSearchBridgeSingle:Public Member Functions | |
| 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... | |
| isValid () | |
| getSQLCondition ($a_element_id) | |
| Get SQL condition for current value(s) 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... | |
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... | |
| 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 ($a_post) | |
| Check if incoming values should be imported at all. More... | |
| getBoundingBox ($a_latitude, $a_longitude, $a_radius) | |
| Get bounding box for location circum search. 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... | |
Protected Attributes | |
| $radius | |
Protected Attributes inherited from ilADTSearchBridgeSingle | |
| $adt | |
Protected Attributes inherited from ilADTSearchBridge | |
| $form | |
| $table_gui | |
| $table_filter_fields = [] | |
| $id | |
| $title | |
| $info | |
Definition at line 5 of file class.ilADTLocationSearchBridgeSingle.php.
| ilADTLocationSearchBridgeSingle::addToForm | ( | ) |
Add ADT-specific fields to form.
Reimplemented from ilADTSearchBridge.
Definition at line 28 of file class.ilADTLocationSearchBridgeSingle.php.
References ilADTSearchBridgeSingle\$adt, $def, $lng, ilADTSearchBridge\addToElementId(), ilADTSearchBridge\addToParentElement(), ilADTSearchBridgeSingle\getADT(), ilMapUtil\getDefaultSettings(), and ilADTSearchBridge\getTitle().
Here is the call graph for this function:
|
protected |
Get bounding box for location circum search.
| float | $a_latitude | |
| float | $a_longitude | |
| int | $a_radius |
Definition at line 120 of file class.ilADTLocationSearchBridgeSingle.php.
Referenced by getSQLCondition().
Here is the caller graph for this function:| ilADTLocationSearchBridgeSingle::getSerializedValue | ( | ) |
Get current value(s) in serialized form (for easy persisting)
Reimplemented from ilADTSearchBridge.
Definition at line 159 of file class.ilADTLocationSearchBridgeSingle.php.
References ilADTSearchBridgeSingle\getADT(), ilADTSearchBridgeSingle\isNull(), and isValid().
Here is the call graph for this function:| ilADTLocationSearchBridgeSingle::getSQLCondition | ( | $a_element_id | ) |
Get SQL condition for current value(s)
| string | $a_element_id |
Reimplemented from ilADTSearchBridge.
Definition at line 139 of file class.ilADTLocationSearchBridgeSingle.php.
References $ilDB, $res, ilADTSearchBridgeSingle\getADT(), getBoundingBox(), ilADTSearchBridgeSingle\isNull(), and isValid().
Here is the call graph for this function:| ilADTLocationSearchBridgeSingle::importFromPost | ( | array | $a_post = null | ) |
Import values from (search) form request POST data.
Reimplemented from ilADTSearchBridge.
Definition at line 75 of file class.ilADTLocationSearchBridgeSingle.php.
References $post, ilADTSearchBridge\addToElementId(), ilADTSearchBridge\extractPostValues(), ilADTSearchBridgeSingle\getADT(), ilADTSearchBridge\getElementId(), ilADTSearchBridge\getForm(), and shouldBeImportedFromPost().
Here is the call graph for this function:| ilADTLocationSearchBridgeSingle::isValid | ( | ) |
Reimplemented from ilADTSearchBridgeSingle.
Definition at line 104 of file class.ilADTLocationSearchBridgeSingle.php.
Referenced by getSerializedValue(), and getSQLCondition().
Here is the caller 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.ilADTLocationSearchBridgeSingle.php.
| ilADTLocationSearchBridgeSingle::loadFilter | ( | ) |
Load filter value(s) into ADT.
Reimplemented from ilADTSearchBridge.
Definition at line 17 of file class.ilADTLocationSearchBridgeSingle.php.
References ilADTSearchBridge\readFilter().
Here is the call graph for this function:| ilADTLocationSearchBridgeSingle::setSerializedValue | ( | $a_value | ) |
Set current value(s) in serialized form (for easy persisting)
| string |
Reimplemented from ilADTSearchBridge.
Definition at line 171 of file class.ilADTLocationSearchBridgeSingle.php.
References ilADTSearchBridgeSingle\getADT().
Here is the call graph for this function:
|
protected |
Check if incoming values should be imported at all.
| mixed | $a_post |
Reimplemented from ilADTSearchBridge.
Definition at line 70 of file class.ilADTLocationSearchBridgeSingle.php.
Referenced by importFromPost().
Here is the caller graph for this function:
|
protected |
Definition at line 7 of file class.ilADTLocationSearchBridgeSingle.php.