[Alba-desarrollo] SVN Alba r4147 - in prosistem/alba/trunk:
alba/apps/principal/config dist/symfony-0.6.3/lib/vendor/creole
commits en pressenter.com.ar
commits en pressenter.com.ar
Vie Feb 2 14:47:26 CET 2007
Author: josx
Date: 2007-02-02 10:46:57 -0300 (Fri, 02 Feb 2007)
New Revision: 4147
Modified:
prosistem/alba/trunk/alba/apps/principal/config/settings.yml
prosistem/alba/trunk/dist/symfony-0.6.3/lib/vendor/creole/CreoleTypes.php
Log:
Puse i18n en off en la parte de DEV, y on en PROD. Adem?\195?\131?\194?\161as arregle un problema del Creole.
Modified: prosistem/alba/trunk/alba/apps/principal/config/settings.yml
===================================================================
--- prosistem/alba/trunk/alba/apps/principal/config/settings.yml 2007-01-31 20:21:51 UTC (rev 4146)
+++ prosistem/alba/trunk/alba/apps/principal/config/settings.yml 2007-02-02 13:46:57 UTC (rev 4147)
@@ -1,6 +1,7 @@
prod:
.settings:
no_script_name: on
+ i18n: on
dev:
.settings:
@@ -11,6 +12,7 @@
stats: off
no_script_name: off
etag: off
+ i18n: off
test:
.settings:
@@ -58,7 +60,7 @@
#
# tidy: on
#
- i18n: on
+# i18n: off
#
# timeout (60 * 60 * 3Hs)
timeout: 10800
Modified: prosistem/alba/trunk/dist/symfony-0.6.3/lib/vendor/creole/CreoleTypes.php
===================================================================
--- prosistem/alba/trunk/dist/symfony-0.6.3/lib/vendor/creole/CreoleTypes.php 2007-01-31 20:21:51 UTC (rev 4146)
+++ prosistem/alba/trunk/dist/symfony-0.6.3/lib/vendor/creole/CreoleTypes.php 2007-02-02 13:46:57 UTC (rev 4147)
@@ -121,7 +121,13 @@
* @param string $nativeType DB native type (e.g. 'TEXT', 'byetea', etc.).
* @return int Creole native type (e.g. Types::LONGVARCHAR, Types::BINARY, etc.).
*/
- abstract static function getType($nativeType);
+# abstract static function getType($nativeType);
+
+ public static function getType($nativeType) {
+ throw new Exception('This method must be overriden in subclasses!'); // abstract static not allowed since PHP 5.2
+ }
+
+
/**
* This method will return a native type that corresponds to the specified
@@ -130,8 +136,13 @@
* native type will be returned.
* @return string Native type string.
*/
- abstract static function getNativeType($creoleType);
-
+# abstract static function getNativeType($creoleType);
+
+ public static function getNativeType($creoleType) {
+ throw new Exception('This method must be overriden in subclasses!'); // abstract static not allowed since PHP 5.2
+ }
+
+
/**
* Gets the "affix" to use for ResultSet::get*() and PreparedStatement::set*() methods.
* <code>
Más información sobre la lista de distribución Alba-desarrollo