Re: [symfony-users] Auto save data

2010-02-03 Thread Germana Oliveira
Holy /&%$ยท&(***:X .. well i have an excuse: it was late!!! of course you're right, the code is: $audiencia = new Audiencia(); //DATOS// $ordenado = sfContext::getInstance()->getUser()->getEmpleadoUsuario('id'); $correlativo= Audi

Re: [symfony-users] Auto save data

2010-02-03 Thread Frank Stelzer
What should this snippet do? You do not call any setter of your model. btw: '.date('Y').'-'.date('m').'-01' -> date('Y-m').'-01' looks better :P Am 03.02.2010 um 22:23 schrieb Germana Oliveira: im trying to make the system to save some data, so i do this: $audiencia = new Audiencia();

[symfony-users] Auto save data

2010-02-03 Thread Germana Oliveira
im trying to make the system to save some data, so i do this: $audiencia = new Audiencia(); //DATOS// $ordenado = sfContext::getInstance()->getUser()->getEmpleadoUsuario('id'); $correlativo= Audiencia::obtenerCorrelativo(); $tipo_proceso_i