Bruno Viana wrote:
> Lewt me explain better what i asked. I have a field called "NAME" (in
> upper case), but the Zend mapping don't see it when i use
> Zend_Db_Table. So, when i write in lower case( "name" ), thats works.

You can modify Zend/Db/Table.php to rid yourself of this behavior by
editing just a few lines.


around line 121 comment out:
 //self::$_inflector = new Zend_Db_Inflector();

around line 177 comment out original, and add simple replacement:
//$this->_name = self::$_inflector->underscore(get_class($this));
$this->_name = get_class($this);

around line 184:
//$this->_cols[$native] = self::$_inflector->camelize($native);
$this->_cols[$native] = $native;


I think that should do it.  I've been running like that for years now :)

--
Drew

Reply via email to