dabo Commit
Revision 5020
Date: 2009-02-05 10:32:16 -0800 (Thu, 05 Feb 2009)
Author: Paul
Trac: http://trac.dabodev.com/changeset/5020
Changed:
U trunk/dabo/biz/dBizobj.py
Log:
Changed name of biz.setValues() to biz.setFieldVals(), to be more parallel
with biz.setFieldVal(). Added alias to setValues for the time being.
Diff:
Modified: trunk/dabo/biz/dBizobj.py
===================================================================
--- trunk/dabo/biz/dBizobj.py 2009-02-04 20:21:55 UTC (rev 5019)
+++ trunk/dabo/biz/dBizobj.py 2009-02-05 18:32:16 UTC (rev 5020)
@@ -1443,7 +1443,7 @@
return ret
- def setValues(self, valDict=None, row=None, **kwargs):
+ def setFieldVals(self, valDict=None, row=None, **kwargs):
"""Allows you to set the value for multiple fields with one
call by passing a dict
containing the field names as keys, and the new values as
values.
"""
@@ -1459,7 +1459,9 @@
ret = False
return ret
+ setValues = setFieldVals ## deprecate setValues in future version
+
_baseXML = """<?xml version="1.0" encoding="%s"?>
<dabocursor xmlns="http://www.dabodev.com"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message:
http://leafe.com/archives/byMID/[email protected]