ILIAS
release_8 Revision v8.19
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Public Member Functions | |
__construct (ilADTDefinition $a_adt_def) | |
loadFilter () | |
addToForm () | |
importFromPost (array $a_post=null) | |
isValid () | |
getSQLCondition (string $a_element_id, int $mode=self::SQL_LIKE, array $quotedWords=[]) | |
getSerializedValue () | |
setSerializedValue (string $a_value) | |
![]() | |
getADT () | |
Get ADT. More... | |
isNull () | |
isValid () | |
validate () | |
![]() | |
__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) | |
shouldBeImportedFromPost ($a_post) | |
getBoundingBox (float $a_latitude, float $a_longitude, int $a_radius) | |
Get bounding box for location circum search. More... | |
![]() | |
setDefinition (ilADTDefinition $a_adt_def) | |
![]() | |
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... | |
Protected Attributes | |
int | $radius = null |
bool | $force_valid = false |
ilLanguage | $lng |
![]() | |
ilADT | $adt |
![]() | |
ilPropertyFormGUI | $form = null |
ilTable2GUI | $table_gui = null |
array | $table_filter_fields = [] |
string | $id = '' |
string | $title = '' |
string | $info = '' |
ilLanguage | $lng |
ilDBInterface | $db |
HttpServices | $http |
Additional Inherited Members | |
![]() | |
const | SQL_STRICT = 1 |
const | SQL_LIKE = 2 |
const | SQL_LIKE_END = 3 |
const | SQL_LIKE_START = 4 |
const | DEFAULT_SEARCH_COLUMN = 'value' |
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning
Definition at line 24 of file class.ilADTLocationSearchBridgeSingle.php.
ilADTLocationSearchBridgeSingle::__construct | ( | ilADTDefinition | $a_adt_def | ) |
Definition at line 31 of file class.ilADTLocationSearchBridgeSingle.php.
References $DIC, ILIAS\GlobalScreen\Provider\__construct(), and ILIAS\Repository\lng().
ilADTLocationSearchBridgeSingle::addToForm | ( | ) |
Definition at line 56 of file class.ilADTLocationSearchBridgeSingle.php.
References ilADTSearchBridgeSingle\$adt, ilADTSearchBridge\addToElementId(), ilADTSearchBridge\addToParentElement(), ilADTSearchBridgeSingle\getADT(), ilMapUtil\getDefaultSettings(), ilADTSearchBridge\getElementId(), ilADTSearchBridge\getTitle(), ilADT\isNull(), ILIAS\Repository\lng(), 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 145 of file class.ilADTLocationSearchBridgeSingle.php.
Referenced by getSQLCondition().
ilADTLocationSearchBridgeSingle::getSerializedValue | ( | ) |
Definition at line 186 of file class.ilADTLocationSearchBridgeSingle.php.
References ilADTSearchBridgeSingle\getADT(), ilADTSearchBridgeSingle\isNull(), and isValid().
ilADTLocationSearchBridgeSingle::getSQLCondition | ( | string | $a_element_id, |
int | $mode = self::SQL_LIKE , |
||
array | $quotedWords = [] |
||
) |
Definition at line 164 of file class.ilADTLocationSearchBridgeSingle.php.
References $res, ilADTSearchBridgeSingle\getADT(), getBoundingBox(), ilADTSearchBridgeSingle\isNull(), and isValid().
ilADTLocationSearchBridgeSingle::importFromPost | ( | array | $a_post = null | ) |
Definition at line 100 of file class.ilADTLocationSearchBridgeSingle.php.
References $post, ilADTSearchBridge\addToElementId(), ilADTSearchBridge\extractPostValues(), ilADTSearchBridgeSingle\getADT(), ilADTSearchBridge\getElementId(), ilADTSearchBridge\getForm(), ILIAS\Repository\int(), and shouldBeImportedFromPost().
ilADTLocationSearchBridgeSingle::isValid | ( | ) |
Definition at line 130 of file class.ilADTLocationSearchBridgeSingle.php.
Referenced by getSerializedValue(), and getSQLCondition().
|
protected |
Definition at line 39 of file class.ilADTLocationSearchBridgeSingle.php.
ilADTLocationSearchBridgeSingle::loadFilter | ( | ) |
Definition at line 46 of file class.ilADTLocationSearchBridgeSingle.php.
References ilADTSearchBridge\readFilter().
ilADTLocationSearchBridgeSingle::setSerializedValue | ( | string | $a_value | ) |
Definition at line 202 of file class.ilADTLocationSearchBridgeSingle.php.
References ilADTSearchBridgeSingle\getADT(), and ILIAS\Repository\int().
|
protected |
Definition at line 95 of file class.ilADTLocationSearchBridgeSingle.php.
Referenced by importFromPost().
|
protected |
Definition at line 27 of file class.ilADTLocationSearchBridgeSingle.php.
|
protected |
Definition at line 29 of file class.ilADTLocationSearchBridgeSingle.php.
|
protected |
Definition at line 26 of file class.ilADTLocationSearchBridgeSingle.php.