Author: guilhermeblanco
Date: 2008-08-27 09:53:53 +0100 (Wed, 27 Aug 2008)
New Revision: 4849

Modified:
   branches/1.0/lib/Doctrine/Query/Abstract.php
Log:
Added missing API documentation for andWhere and orWhere.

Modified: branches/1.0/lib/Doctrine/Query/Abstract.php
===================================================================
--- branches/1.0/lib/Doctrine/Query/Abstract.php        2008-08-27 08:40:39 UTC 
(rev 4848)
+++ branches/1.0/lib/Doctrine/Query/Abstract.php        2008-08-27 08:53:53 UTC 
(rev 4849)
@@ -1194,6 +1194,13 @@
     }
     
     
+    /**
+     * Adds conditions to the WHERE part of the query
+     *
+     * @param string $where Query WHERE part
+     * @param mixed $params An array of parameters or a simple scalar
+     * @return Doctrine_Query
+     */
     public function andWhere($where, $params = array())
     {
         if (is_array($params)) {
@@ -1210,6 +1217,13 @@
     }
     
     
+    /**
+     * Adds conditions to the WHERE part of the query
+     *
+     * @param string $where Query WHERE part
+     * @param mixed $params An array of parameters or a simple scalar
+     * @return Doctrine_Query
+     */
     public function orWhere($where, $params = array())
     {
         if (is_array($params)) {
@@ -1246,7 +1260,7 @@
      *
      * @param string $expr The operand of the IN
      * @param mixed $params An array of parameters or a simple scalar
-     * @param boolean $not Whether or not to use NOT in front of IN 
+     * @param boolean $not Whether or not to use NOT in front of IN
      * @return Doctrine_Query
      */
     public function andWhereIn($expr, $params = array(), $not = false)


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"doctrine-svn" group.
 To post to this group, send email to [email protected]
 To unsubscribe from this group, send email to [EMAIL PROTECTED]
 For more options, visit this group at 
http://groups.google.co.uk/group/doctrine-svn?hl=en-GB
-~----------~----~----~----~------~----~------~--~---

Reply via email to