temporary move stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Tue, 06 Apr 2010 10:27:02 +0200
branchstable
changeset 5149 a6bcb3c264fe
parent 5148 ec0ea7366066
child 5150 7a9e71ee5671
temporary move
doc/book/en/development/devcore/index.rst
doc/book/en/development/devcore/reqbase.rst
doc/book/en/development/vreg/appobject.rst
--- a/doc/book/en/development/devcore/index.rst	Tue Apr 06 10:17:18 2010 +0200
+++ b/doc/book/en/development/devcore/index.rst	Tue Apr 06 10:27:02 2010 +0200
@@ -5,5 +5,6 @@
    :maxdepth: 1
 
    dbapi.rst
+   reqbase.rst
    cwconfig.rst
 
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/doc/book/en/development/devcore/reqbase.rst	Tue Apr 06 10:27:02 2010 +0200
@@ -0,0 +1,30 @@
+
+Those are methods you'll find on both request objects and on repository session:
+
+:URL handling:
+  * `build_url(*args, **kwargs)`, returns an absolute URL based on the
+    given arguments. The *controller* supposed to handle the response,
+    can be specified through the first positional parameter (the
+    connection is theoretically done automatically :).
+:Data formatting:
+  * `format_date(date, date_format=None, time=False)` returns a string for a
+    date time according to instance's configuration
+
+  * `format_time(time)` returns a string for a date time according to
+    instance's configuration
+
+:And more...:
+
+  * `tal_render(template, variables)`, renders a precompiled page template with
+    variables in the given dictionary as context
+
+
+Result set methods:
+
+  * `get_entity(row, col)`, returns the entity corresponding to the data position
+    in the *result set*
+
+  * `complete_entity(row, col, skip_bytes=True)`, is equivalent to `get_entity` but
+    also call the method `complete()` on the entity before returning it
+
+
--- a/doc/book/en/development/vreg/appobject.rst	Tue Apr 06 10:17:18 2010 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,29 +0,0 @@
-XXX todo:
-* configure members for doc generated for appojbect class,
-* configure module's member into the module
-* put doc below somewhere else
-
-:URL handling:
-  * `build_url(*args, **kwargs)`, returns an absolute URL based on the
-    given arguments. The *controller* supposed to handle the response,
-    can be specified through the first positional parameter (the
-    connection is theoretically done automatically :).
-
-:Data manipulation:
-
-  * `entity(row, col=0)`, returns the entity corresponding to the data position
-    in the *result set* associated to the object
-
-  * `complete_entity(row, col=0, skip_bytes=True)`, is equivalent to `entity` but
-    also call the method `complete()` on the entity before returning it
-
-:Data formatting:
-  * `format_date(date, date_format=None, time=False)` returns a string for a
-    date time according to instance's configuration
-  * `format_time(time)` returns a string for a date time according to
-    instance's configuration
-
-:And more...:
-
-  * `tal_render(template, variables)`, renders a precompiled page template with
-    variables in the given dictionary as context