Changes between Version 3 and Version 4 of functions


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

--

Legend:

Unmodified
Added
Removed
Modified
  • functions

    v3 v4  
    1 ==== Functions defined in the ZSQLExtend Product ====
     1= Functions defined in the ZSQLExtend Product =
    22
    33
    4 === Functions intended for the use in Page Templates ===
     4== Functions intended for the use in Page Templates ==
    55
    6 == Access to the database ==
     6=== Access to the database ===
    77
    88  * **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
     
    1616  * **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''
    1717
    18 == Helpers for Navigation ==
     18=== Helpers for Navigation ===
    1919
    2020  * **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)"'').
    2121
    22 == Addtional helpers ==
     22=== Additonal helpers ===
    2323
    2424
    2525
    26 == Functions internally used ==
     26=== Functions internally used ===