phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] phpgwapi/inc/class.contact_addr.inc.php, 1.1.2.12


From: nomail
Subject: [Phpgroupware-cvs] phpgwapi/inc/class.contact_addr.inc.php, 1.1.2.12
Date: Wed, 23 Jun 2004 10:24:02 +0200

Update of /phpgwapi/inc
Modified Files:
        Branch: Version-0_9_16-branch
          class.contact_addr.inc.php

date: 2004/06/23 08:24:02;  author: powerstat;  state: Exp;  lines: +10 -10

Log Message:
more phpdoc updates and removed 2 useless breaks
=====================================================================
Index: phpgwapi/inc/class.contact_addr.inc.php
diff -u phpgwapi/inc/class.contact_addr.inc.php:1.1.2.11 
phpgwapi/inc/class.contact_addr.inc.php:1.1.2.12
--- phpgwapi/inc/class.contact_addr.inc.php:1.1.2.11    Mon Jun 21 07:49:45 2004
+++ phpgwapi/inc/class.contact_addr.inc.php     Wed Jun 23 08:24:02 2004
@@ -258,7 +258,7 @@
                }
 
                /**
-               *
+               * Get address fields 1-3 from database
                *
                * @param mixed $element Unused
                * @internal addr_address false field is a concatenation of add1 
and add2 therefore, we use the || standard concatenation operator for select
@@ -269,7 +269,7 @@
                }
 
                /**
-               *
+               * Get address fields 1-3 for primary address from database
                *
                * @param mixed $element
                * @internal addr_address false field is a concatenation of add1 
and add2 therefore, we use the || standard concatenation operator for select
@@ -282,7 +282,7 @@
                }
 
                /**
-               *
+               * Write primary address to database
                *
                * @param mixed $element Unused
                * @internal Generic select builder for adr_one fields that need 
to be limited to criteria precedence=1 but map 1 to 1 to real fields 
(city,country,postalcode)
@@ -294,7 +294,7 @@
                }
 
                /**
-               *
+               * Get address fields 1-3 for secondary address from database
                *
                * @param mixed $element
                * @internal Street address as asked for by the adr_*_street 
false fields are actually concatenations of add1 and add2, therefore that needs 
its own handler
@@ -306,7 +306,7 @@
                }
 
                /**
-               *
+               * Write secondary address to database
                *
                * @param mixed $element
                * @internal Generic select builder for adr_two fields that need 
to be limited to criteria precedence=2 but map 1 to 1 to real fields 
(city,country,postalcode)
@@ -317,11 +317,11 @@
                                $this->field_list[$element['field']] = 
$this->put_alias(sql::string($element['real_field']));
                }
 
-               //Backwards compatibility for adr_one adr_two when asked to 
SEARCH CRITERIA (where clause)
                /**
-               *
+               * Get address fields 1-2 for primary address from database
                *
                * @param mixed $element
+               * @internal Backwards compatibility for adr_one adr_two when 
asked to SEARCH CRITERIA (where clause)
                * @internal In this case, searching in the adr_one_street false 
field should look for the value in add1 and add2 since adr_one_street is 
defined to be the concatenation of this two fields
                */
                function criteria_adr_one_street($element)
@@ -333,7 +333,7 @@
                }
 
                /**
-               *
+               * Get primary address from database
                *
                * @param mixed $element
                * @internal Generic criteria builder for adr_one type fields. 
They need an extra precedence and then are a LIKE clause which is given by 
sql_criteria::has(). So, if the user asks for adr_one_country, the resulting 
query will be tablename.country = %%value%%
@@ -346,7 +346,7 @@
                }
 
                /**
-               *
+               * Get address fields 1-2 for secondary address from database
                *
                * @param mixed $element
                * @internal Same as criteria_adr_one_street but with precedence 
2




reply via email to

[Prev in Thread] Current Thread [Next in Thread]