Triggers: Difference between revisions

Jump to navigation Jump to search
Line 614: Line 614:
When an Entry object's field() method is called, if the Memento field type is Location, a JSGeolocation object is returned.
When an Entry object's field() method is called, if the Memento field type is Location, a JSGeolocation object is returned.


If the Location field contains multiple locations, use hasNext() and next() to retrieve them.
If the Location field contains multiple locations, use ''hasNext'' and ''next'' to retrieve them.
 
==== JSGeolocation Methods ====
 
:; hasNext(): Returns TRUE if there is a next JSGeolocation object, otherwise FALSE
 
:; next(): Returns the next JSGeolocation object, if there is one. Only valid after calling hasNext() and receiving a TRUE result.


==== JSGeolocation Properties ====
==== JSGeolocation Properties ====
Line 629: Line 623:


:; address: Address for this Location
:; address: Address for this Location
:; hasNext: Returns TRUE if there is a next JSGeolocation object, otherwise FALSE
:; next: Returns the next JSGeolocation object, if there is one.
<br/>
<br/>
-----
-----