Changes between Version 1 and Version 2 of functions


Ignore:
Timestamp:
Mar 6, 2007, 10:43:40 AM (17 years ago)
Author:
dwinter
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • functions

    v1 v2  
    1 === Functions defined in the ZSQLExtend Product ===
     1==== Functions defined in the ZSQLExtend Product ====
     2
     3
     4=== Functions intended for the use in Page Templates ===
     5
     6== Access to the database==
    27
    38  * **ZSQLInlineSearch(_table = '...' ,fieldname = here.filename, _op_fieldname = '...')**\\ Searches in the given table (''_table'') in the given fieldname (replace ''fieldname'' with the name of the field, that contains the data that identifies the record) for the id of your object (''here.filename'') using the operator specified by ''_op_fieldname'' (again, replace ''fieldname''; possible operators are for example ''eq'' (equals), ''ct'' (contains)). Returns an array with the results.\\ Function
     
    1116  * **ZSQLOptionsFromCRList(self,fieldname,listField, multiple=<nowiki>''</nowiki>,start=None,startValue=None,size=None,selected=None)**\\ generate select oprions form a cr seperated list\\ fieldname: name of the field, that is the value of the value-attribute of the option-tag\\ listField: a string of the following form: ''listitem1\nlistitem2\nlistitem3''
    1217
     18== Helpers for Navigation ==
    1319
    1420  * **nextLink(self,html,storename="foundCount")**\\ generates the link to the next ''max'' results\\ ''max'' is defined by the parameter ''-max''.\\ E.g. in the search-formular (''<nowiki><input type="hidden" name="-max" value="50"></nowiki>''\\ or in the ZSQLFind-call (''tal:define="founds python:here.ZSQLFind(_max=50)"'').
     21
     22== Addtional helpers ==
     23
     24
     25
     26== Functions internally used ==