ILIAS
Release_5_0_x_branch Revision 61816
|
Public Member Functions | |
loadFilter () | |
Load filter value(s) into ADT. | |
addToForm () | |
Add ADT-specific fields to form. | |
importFromPost (array $a_post=null) | |
Import values from (search) form request POST data. | |
isValid () | |
getSQLCondition ($a_element_id) | |
Get SQL condition for current value(s) | |
getSerializedValue () | |
Get current value(s) in serialized form (for easy persisting) | |
setSerializedValue ($a_value) | |
Set current value(s) in serialized form (for easy persisting) | |
Public Member Functions inherited from ilADTSearchBridgeSingle | |
getADT () | |
Get ADT. | |
isNull () | |
Is null ? | |
validate () | |
Validate current data. | |
Public Member Functions inherited from ilADTSearchBridge | |
__construct (ilADTDefinition $a_adt_def) | |
Constructor. | |
setForm (ilPropertyFormGUI $a_form) | |
Set form. | |
getForm () | |
Get form. | |
setElementId ($a_value) | |
Set element id (aka form field) | |
getElementId () | |
Get element id. | |
setTitle ($a_value) | |
Set title (aka form field caption) | |
getTitle () | |
Get title. | |
setTableGUI (ilTable2GUI $a_table) | |
Set table gui (for filter mode) | |
getTableGUI () | |
Get table gui. | |
isInCondition (ilADT $a_adt) | |
Compare directly against ADT. |
Protected Member Functions | |
isValidADTDefinition (ilADTDefinition $a_adt_def) | |
Check if given ADT definition is valid. | |
shouldBeImportedFromPost ($a_post) | |
Check if incoming values should be imported at all. | |
getBoundingBox ($a_latitude, $a_longitude, $a_radius) | |
Get bounding box for location circum search. | |
Protected Member Functions inherited from ilADTSearchBridgeSingle | |
setDefinition (ilADTDefinition $a_adt_def) | |
Set ADT definition. | |
Protected Member Functions inherited from ilADTSearchBridge | |
writeFilter ($a_value=null) | |
Write value(s) to filter store (in session) | |
readFilter () | |
Load value(s) from filter store (in session) | |
addToParentElement (ilFormPropertyGUI $a_field) | |
Add form field to parent element. | |
addToElementId ($a_add) | |
Add sub-element. | |
extractPostValues (array $a_post=null) | |
Extract data from (post) values. |
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 30 of file class.ilADTLocationSearchBridgeSingle.php.
References ilADTSearchBridgeSingle\$adt, $lng, ilADTSearchBridge\addToElementId(), ilADTSearchBridge\addToParentElement(), ilADTSearchBridgeSingle\getADT(), ilMapUtil\getDefaultSettings(), ilADTSearchBridge\getElementId(), ilADTSearchBridge\getTitle(), ilLocationInputGUI\setLongitude(), and ilNumberInputGUI\setSize().
|
protected |
Get bounding box for location circum search.
float | $a_latitude | |
float | $a_longitude | |
int | $a_radius |
Definition at line 124 of file class.ilADTLocationSearchBridgeSingle.php.
Referenced by getSQLCondition().
ilADTLocationSearchBridgeSingle::getSerializedValue | ( | ) |
Get current value(s) in serialized form (for easy persisting)
Reimplemented from ilADTSearchBridge.
Definition at line 164 of file class.ilADTLocationSearchBridgeSingle.php.
References ilADTSearchBridgeSingle\getADT(), ilADTSearchBridgeSingle\isNull(), and isValid().
ilADTLocationSearchBridgeSingle::getSQLCondition | ( | $a_element_id | ) |
Get SQL condition for current value(s)
string | $a_element_id |
Reimplemented from ilADTSearchBridge.
Definition at line 143 of file class.ilADTLocationSearchBridgeSingle.php.
References $ilDB, $res, ilADTSearchBridgeSingle\getADT(), getBoundingBox(), ilADTSearchBridgeSingle\isNull(), and isValid().
ilADTLocationSearchBridgeSingle::importFromPost | ( | array | $a_post = null | ) |
Import values from (search) form request POST data.
Reimplemented from ilADTSearchBridge.
Definition at line 79 of file class.ilADTLocationSearchBridgeSingle.php.
References ilADTSearchBridge\extractPostValues(), ilADTSearchBridgeSingle\getADT(), ilADTSearchBridge\getElementId(), ilADTSearchBridge\getForm(), and shouldBeImportedFromPost().
ilADTLocationSearchBridgeSingle::isValid | ( | ) |
Reimplemented from ilADTSearchBridgeSingle.
Definition at line 108 of file class.ilADTLocationSearchBridgeSingle.php.
Referenced by getSerializedValue(), and getSQLCondition().
|
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().
ilADTLocationSearchBridgeSingle::setSerializedValue | ( | $a_value | ) |
Set current value(s) in serialized form (for easy persisting)
string |
Reimplemented from ilADTSearchBridge.
Definition at line 176 of file class.ilADTLocationSearchBridgeSingle.php.
References ilADTSearchBridgeSingle\getADT().
|
protected |
Check if incoming values should be imported at all.
mixed | $a_post |
Reimplemented from ilADTSearchBridge.
Definition at line 74 of file class.ilADTLocationSearchBridgeSingle.php.
Referenced by importFromPost().
|
protected |
Definition at line 7 of file class.ilADTLocationSearchBridgeSingle.php.