[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] cdb/inc class.cdb_address.inc.php, 1.4 class.cdb_cont
From: |
powerstat |
Subject: |
[Phpgroupware-cvs] cdb/inc class.cdb_address.inc.php, 1.4 class.cdb_contact_address.inc.php, 1.4 class.cdb_contact_personal.inc.php, 1.7 class.cdb_contact_phone.inc.php, 1.5 class.cdb_phone.inc.php, 1.7 class.cdb_organization_location.inc.php, 1.5 class.cdb_organization.inc.php, 1.4 class.cdb_organization_client.inc.php, 1.3 class.cdb_contact.inc.php, 1.8 class.cdb_template.inc.php, 1.3 class.bo_filter.inc.php, 1.3 class.cdb_contact_internet.inc.php, 1.3 class.cdb_entity_meta.inc.php, 1.4 class.cdb_entity.inc.php, 1.7 class.cdb_contact_client.inc.php, 1.3 |
Date: |
Mon, 18 Apr 2005 10:21:00 +0200 |
Update of cdb/inc
Modified Files:
Branch: MAIN
class.cdb_address.inc.php lines: +3 -2
class.cdb_contact_address.inc.php lines: +2 -2
class.cdb_contact_personal.inc.php lines: +1 -2
class.cdb_contact_phone.inc.php lines: +2 -2
class.cdb_phone.inc.php lines: +3 -1
class.cdb_organization_location.inc.php lines: +3 -1
class.cdb_organization.inc.php lines: +3 -3
class.cdb_organization_client.inc.php lines: +3 -1
class.cdb_contact.inc.php lines: +3 -3
class.cdb_template.inc.php lines: +2 -2
class.bo_filter.inc.php lines: +2 -2
class.cdb_contact_internet.inc.php lines: +4 -2
class.cdb_entity_meta.inc.php lines: +2 -2
class.cdb_entity.inc.php lines: +3 -3
class.cdb_contact_client.inc.php lines: +3 -1
Log Message:
Fixed various syntax errors
====================================================
Index: cdb/inc/class.cdb_address.inc.php
diff -u cdb/inc/class.cdb_address.inc.php:1.3
cdb/inc/class.cdb_address.inc.php:1.4
--- cdb/inc/class.cdb_address.inc.php:1.3 Wed Feb 20 22:12:58 2002
+++ cdb/inc/class.cdb_address.inc.php Mon Apr 18 08:21:56 2005
@@ -104,6 +104,7 @@
{
reset($this->_dirty);
do
+ {
$key = key($this->_dirty);
switch($key)
{
@@ -113,7 +114,7 @@
$sql.=$key.'="';
$sql .=
$this->_get($key) . '", ';
}
-
+ }
while (next($this->_dirty));
if ($sql)
====================================================
Index: cdb/inc/class.cdb_contact_address.inc.php
diff -u cdb/inc/class.cdb_contact_address.inc.php:1.3
cdb/inc/class.cdb_contact_address.inc.php:1.4
--- cdb/inc/class.cdb_contact_address.inc.php:1.3 Wed Feb 20 22:12:58 2002
+++ cdb/inc/class.cdb_contact_address.inc.php Mon Apr 18 08:21:56 2005
@@ -30,7 +30,7 @@
function save()
{
- reset $this->_address_list;
+ reset($this->_address_list);
$retval = FALSE;
while (list($key,$value) = $this->_address_list)
{
====================================================
Index: cdb/inc/class.cdb_contact_personal.inc.php
diff -u cdb/inc/class.cdb_contact_personal.inc.php:1.6
cdb/inc/class.cdb_contact_personal.inc.php:1.7
--- cdb/inc/class.cdb_contact_personal.inc.php:1.6 Wed Feb 20 22:12:58 2002
+++ cdb/inc/class.cdb_contact_personal.inc.php Mon Apr 18 08:21:56 2005
@@ -72,7 +72,6 @@
case 'male':
case 'female':
return $this->_let('gender',
$new_gender);
- break;
case default:
return FALSE;
}
====================================================
Index: cdb/inc/class.cdb_contact_phone.inc.php
diff -u cdb/inc/class.cdb_contact_phone.inc.php:1.4
cdb/inc/class.cdb_contact_phone.inc.php:1.5
--- cdb/inc/class.cdb_contact_phone.inc.php:1.4 Wed Feb 20 22:12:58 2002
+++ cdb/inc/class.cdb_contact_phone.inc.php Mon Apr 18 08:21:56 2005
@@ -30,7 +30,7 @@
function save()
{
- reset $this->_phone_list;
+ reset($this->_phone_list);
$retval = FALSE;
while (list($key,$value) = $this->_phone_list)
{
====================================================
Index: cdb/inc/class.cdb_phone.inc.php
diff -u cdb/inc/class.cdb_phone.inc.php:1.6 cdb/inc/class.cdb_phone.inc.php:1.7
--- cdb/inc/class.cdb_phone.inc.php:1.6 Wed Feb 20 22:12:57 2002
+++ cdb/inc/class.cdb_phone.inc.php Mon Apr 18 08:21:56 2005
@@ -36,8 +36,10 @@
{
reset($this->_dirty);
do
+ {
$key = key($this->_dirty);
$sql.=$key.'="';
+ }
while (next($this->_dirty));
$sql .= $this->_get($key) . '", ';
if ($sql)
====================================================
Index: cdb/inc/class.cdb_organization_location.inc.php
diff -u cdb/inc/class.cdb_organization_location.inc.php:1.4
cdb/inc/class.cdb_organization_location.inc.php:1.5
--- cdb/inc/class.cdb_organization_location.inc.php:1.4 Wed Feb 20 22:12:57 2002
+++ cdb/inc/class.cdb_organization_location.inc.php Mon Apr 18 08:21:56 2005
@@ -115,6 +115,7 @@
{
reset($this->_dirty);
do
+ {
$key = key($this->_dirty);
switch($key)
{
@@ -124,6 +125,7 @@
$sql.=$key.'="';
$sql .=
$this->_get($key) . '", ';
}
+ }
while (next($this->_dirty));
if ($sql)
====================================================
Index: cdb/inc/class.cdb_organization.inc.php
diff -u cdb/inc/class.cdb_organization.inc.php:1.3
cdb/inc/class.cdb_organization.inc.php:1.4
--- cdb/inc/class.cdb_organization.inc.php:1.3 Fri Mar 1 21:13:20 2002
+++ cdb/inc/class.cdb_organization.inc.php Mon Apr 18 08:21:56 2005
@@ -72,8 +72,8 @@
function create($name)
{
global $cdb_ver;
- unset $this->_meta;
- unset $this->_client;
+ unset($this->_meta);
+ unset($this->_client);
$this->_id = 0;
$this->_let('organization_id',0);
====================================================
Index: cdb/inc/class.cdb_organization_client.inc.php
diff -u cdb/inc/class.cdb_organization_client.inc.php:1.2
cdb/inc/class.cdb_organization_client.inc.php:1.3
--- cdb/inc/class.cdb_organization_client.inc.php:1.2 Wed Feb 20 22:12:58 2002
+++ cdb/inc/class.cdb_organization_client.inc.php Mon Apr 18 08:21:56 2005
@@ -82,6 +82,7 @@
{
reset($this->_dirty);
do
+ {
$key = key($this->_dirty);
switch($key)
{
@@ -91,6 +92,7 @@
$sql.=$key.'="';
$sql .=
$this->_get($key) . '", ';
}
+ }
while (next($this->_dirty));
if ($sql)
====================================================
Index: cdb/inc/class.cdb_contact.inc.php
diff -u cdb/inc/class.cdb_contact.inc.php:1.7
cdb/inc/class.cdb_contact.inc.php:1.8
--- cdb/inc/class.cdb_contact.inc.php:1.7 Wed Feb 20 22:12:58 2002
+++ cdb/inc/class.cdb_contact.inc.php Mon Apr 18 08:21:56 2005
@@ -93,8 +93,8 @@
function create($name)
{
global $cdb_ver;
- unset $this->_meta;
- unset $this->_client;
+ unset($this->_meta);
+ unset($this->_client);
$this->_id = 0;
$this->_let('contact_id',0);
====================================================
Index: cdb/inc/class.cdb_template.inc.php
diff -u cdb/inc/class.cdb_template.inc.php:1.2
cdb/inc/class.cdb_template.inc.php:1.3
--- cdb/inc/class.cdb_template.inc.php:1.2 Wed Feb 13 22:35:02 2002
+++ cdb/inc/class.cdb_template.inc.php Mon Apr 18 08:21:56 2005
@@ -33,7 +33,7 @@
{
function cdb_xxx()
{
- var $_privatevarshere;
+ // var $_privatevarshere; // This is an syntax error
and seems also to be useless
$this->_db = $GLOBALS['phpgw']->db;
/* add vars that have get/let interface to this array.
*/
====================================================
Index: cdb/inc/class.bo_filter.inc.php
diff -u cdb/inc/class.bo_filter.inc.php:1.2 cdb/inc/class.bo_filter.inc.php:1.3
--- cdb/inc/class.bo_filter.inc.php:1.2 Thu Mar 21 21:01:52 2002
+++ cdb/inc/class.bo_filter.inc.php Mon Apr 18 08:21:56 2005
@@ -295,7 +295,7 @@
$select = 'phpgw_cdb_entity_id.entity_id AS entity_id';
$from = 'phpgw_cdb_entity_id';
$this->_joins = array();
- reset $this->_fields;
+ reset($this->_fields);
while (list($key,$value) = $this->_fields)
{
$result = FALSE;
====================================================
Index: cdb/inc/class.cdb_contact_internet.inc.php
diff -u cdb/inc/class.cdb_contact_internet.inc.php:1.2
cdb/inc/class.cdb_contact_internet.inc.php:1.3
--- cdb/inc/class.cdb_contact_internet.inc.php:1.2 Wed Feb 20 22:12:58 2002
+++ cdb/inc/class.cdb_contact_internet.inc.php Mon Apr 18 08:21:56 2005
@@ -1,4 +1,4 @@
-<?php
+<?php
/**************************************************************************\
* phpGroupWare *
* http://www.phpgroupware.org/ *
@@ -180,9 +180,11 @@
{
reset($this->_dirty);
do
+ {
$key = key($this->_dirty);
$sql.=$key.'="';
$sql .= $this->_get($key) . '",
';
+ }
while (next($this->_dirty));
if ($sql)
{
====================================================
Index: cdb/inc/class.cdb_entity_meta.inc.php
diff -u cdb/inc/class.cdb_entity_meta.inc.php:1.3
cdb/inc/class.cdb_entity_meta.inc.php:1.4
--- cdb/inc/class.cdb_entity_meta.inc.php:1.3 Wed Feb 20 22:12:58 2002
+++ cdb/inc/class.cdb_entity_meta.inc.php Mon Apr 18 08:21:56 2005
@@ -28,7 +28,7 @@
class cdb_entity_meta extends cdb_generic
{
- var _modified;
+ var $_modified;
function cdb_entity_meta()
{
====================================================
Index: cdb/inc/class.cdb_entity.inc.php
diff -u cdb/inc/class.cdb_entity.inc.php:1.6
cdb/inc/class.cdb_entity.inc.php:1.7
--- cdb/inc/class.cdb_entity.inc.php:1.6 Wed Feb 20 22:12:58 2002
+++ cdb/inc/class.cdb_entity.inc.php Mon Apr 18 08:21:56 2005
@@ -66,8 +66,8 @@
function load($entity_id)
{
// Unload everything first
- unset $this->_org;
- unset $this->_contact;
+ unset($this->_org);
+ unset($this->_contact);
$this->_loaded = FALSE;
$this->_id = 0;
====================================================
Index: cdb/inc/class.cdb_contact_client.inc.php
diff -u cdb/inc/class.cdb_contact_client.inc.php:1.2
cdb/inc/class.cdb_contact_client.inc.php:1.3
--- cdb/inc/class.cdb_contact_client.inc.php:1.2 Wed Feb 20 22:12:58 2002
+++ cdb/inc/class.cdb_contact_client.inc.php Mon Apr 18 08:21:56 2005
@@ -91,6 +91,7 @@
{
reset($this->_dirty);
do
+ {
$key = key($this->_dirty);
switch($key)
{
@@ -100,6 +101,7 @@
$sql.=$key.'="';
$sql .=
$this->_get($key) . '", ';
}
+ }
while (next($this->_dirty));
if ($sql)
{
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] cdb/inc class.cdb_address.inc.php, 1.4 class.cdb_contact_address.inc.php, 1.4 class.cdb_contact_personal.inc.php, 1.7 class.cdb_contact_phone.inc.php, 1.5 class.cdb_phone.inc.php, 1.7 class.cdb_organization_location.inc.php, 1.5 class.cdb_organization.inc.php, 1.4 class.cdb_organization_client.inc.php, 1.3 class.cdb_contact.inc.php, 1.8 class.cdb_template.inc.php, 1.3 class.bo_filter.inc.php, 1.3 class.cdb_contact_internet.inc.php, 1.3 class.cdb_entity_meta.inc.php, 1.4 class.cdb_entity.inc.php, 1.7 class.cdb_contact_client.inc.php, 1.3,
powerstat <=