Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
dev:translators:functions [2016/10/31 12:21]
zuphilip Change position of link from previous change
dev:translators:functions [2017/11/12 19:53] (current)
Line 1: Line 1:
 +<​html><​p id="​zotero-5-update-warning"​ style="​color:​ red; font-weight:​ bold">​We’re
 +in the process of updating the documentation for
 +<a href="​https://​www.zotero.org/​blog/​zotero-5-0">​Zotero 5.0</​a>​. Some documentation
 +may be outdated in the meantime. Thanks for your understanding.</​p></​html>​
 +
 +
 ====== Functions and objects in the translator sandbox ====== ====== Functions and objects in the translator sandbox ======
 This is a list of the functions and objects exposed to translators running in the sandbox. As it was generated from the existing translators,​ this list is probably not complete, and some of the functions may be deprecated or unavailable in certain types of translators. Most of the below are described in the general [[dev:​translators:​coding|Translator Coding documentation]],​ or the [[dev:​translators|Translator overview]]. Others are rarely used-- search in the code of existing translators for usage guidance. This is a list of the functions and objects exposed to translators running in the sandbox. As it was generated from the existing translators,​ this list is probably not complete, and some of the functions may be deprecated or unavailable in certain types of translators. Most of the below are described in the general [[dev:​translators:​coding|Translator Coding documentation]],​ or the [[dev:​translators|Translator overview]]. Others are rarely used-- search in the code of existing translators for usage guidance.
Line 49: Line 55:
   * <​del>​Zotero.Utilities.retrieveSource</​del>​ [[dev:​client_coding:​changes_in_zotero_3.0#​retrievesource_and_retrievedocument_are_unavailable|unavailable since 3.0]]   * <​del>​Zotero.Utilities.retrieveSource</​del>​ [[dev:​client_coding:​changes_in_zotero_3.0#​retrievesource_and_retrievedocument_are_unavailable|unavailable since 3.0]]
   * Zotero.Utilities.strToDate   * Zotero.Utilities.strToDate
 +  * Zotero.Utilities.strToISO
   * Zotero.Utilities.superCleanString   * Zotero.Utilities.superCleanString
-  * Zotero.Utilities.text+  * Zotero.Utilities.text2html
   * <​del>​Zotero.Utilities.trim</​del>​ DEPRECATED use "​.trim()"​ instead   * <​del>​Zotero.Utilities.trim</​del>​ DEPRECATED use "​.trim()"​ instead
   * Zotero.Utilities.trimInternal   * Zotero.Utilities.trimInternal
dev/translators/functions.1477930870.txt.gz · Last modified: 2016/10/31 12:21 by zuphilip