Changes
Special:MobileDiff/1991
Jump to navigation
Jump to search
← Older edit
Newer edit →
Triggers
(view source)
Revision as of 06:44, 6 January 2017
2 bytes removed
,
06:44, 6 January 2017
→Built-in objects for certain Memento field types
Line 584:
Line 584:
When an Entry object's field() method is called, if the Memento field type is Contact, a JSContact object is returned.
When an Entry object's field() method is called, if the Memento field type is Contact, a JSContact object is returned.
−
If the Contact field contains multiple contacts, use hasNext
()
and next
()
to retrieve them.
+
If the Contact field contains multiple contacts, use
''
hasNext
''
and
''
next
''
to retrieve them.
==== JSContact Methods ====
==== JSContact Methods ====
−
−
:; hasNext(): Returns TRUE if there is a next JSContact object, otherwise FALSE
−
−
:; next(): Returns the next JSContact object, if there is one — only valid after calling hasNext() and receiving a TRUE result
:; show(): Opens the Contacts app for this contact
:; show(): Opens the Contacts app for this contact
Line 607:
Line 603:
:; email: The primary email address of this contact
:; email: The primary email address of this contact
+
+
:;hasNext: Returns TRUE if there is a next JSContact object, otherwise FALSE
+
+
:;next: Returns the next JSContact object, if there is one — only valid after calling hasNext() and receiving a TRUE result
=== Object ''JSGeolocation'' ===
=== Object ''JSGeolocation'' ===
Admin
Write,
Bureaucrats
,
Administrators
176
edits
Navigation menu
Personal tools
Log in
Namespaces
Page
Discussion
Variants
Views
Read
View source
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help
Tools
Special pages
Printable version