From be0143985e1d5f0060be746a594115378735b70d Mon Sep 17 00:00:00 2001 From: legenerationlazi Date: Tue, 17 Apr 2007 23:47:51 +0000 Subject: [PATCH] yet another --- .../Configuration - Setting attributes - Portability.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/manual/docs/Configuration - Setting attributes - Portability.php b/manual/docs/Configuration - Setting attributes - Portability.php index 1771b1820..c6e09ac53 100644 --- a/manual/docs/Configuration - Setting attributes - Portability.php +++ b/manual/docs/Configuration - Setting attributes - Portability.php @@ -1,4 +1,3 @@ - Each database management system (DBMS) has it's own behaviors. For example, some databases capitalize field names in their output, some lowercase them, while others leave them alone. These quirks make it difficult to port your scripts over to another server type. PEAR Doctrine:: strives to overcome these differences so your program can switch between DBMS's without any changes. You control which portability modes are enabled by using the portability configuration option. Configuration options are set via factory() and setOption(). @@ -101,7 +100,7 @@ Using setAttribute() to enable portability for lowercasing and trimming -\$conn->setAttribute('portability', +$conn->setAttribute('portability', Doctrine::PORTABILITY_FIX_CASE | Doctrine::PORTABILITY_RTRIM); ?> @@ -117,7 +116,7 @@ Using setAttribute() to enable all portability options except trimming -\$conn->setAttribute('portability', +$conn->setAttribute('portability', Doctrine::PORTABILITY_ALL ^ Doctrine::PORTABILITY_RTRIM); ?>