[Alba-desarrollo] SVN Alba r6143 -
prosistem/alba/trunk/alba/apps/principal/modules/relCalendariovacunacionAlumno/actions
commits en pressenter.com.ar
commits en pressenter.com.ar
Lun Mayo 4 20:38:26 CEST 2009
Author: josx
Date: 2009-05-04 15:38:26 -0300 (Mon, 04 May 2009)
New Revision: 6143
Modified:
prosistem/alba/trunk/alba/apps/principal/modules/relCalendariovacunacionAlumno/actions/actions.class.php
Log:
Agregando el request para sacar los strict standar
Modified: prosistem/alba/trunk/alba/apps/principal/modules/relCalendariovacunacionAlumno/actions/actions.class.php
===================================================================
--- prosistem/alba/trunk/alba/apps/principal/modules/relCalendariovacunacionAlumno/actions/actions.class.php 2009-05-04 18:23:12 UTC (rev 6142)
+++ prosistem/alba/trunk/alba/apps/principal/modules/relCalendariovacunacionAlumno/actions/actions.class.php 2009-05-04 18:38:26 UTC (rev 6143)
@@ -39,25 +39,22 @@
*/
function executeIrCuenta(){
if ( $this->getRequestParameter('id') ){
-
$c = new Criteria();
$c->add(RelCalendariovacunacionAlumnoPeer::ID,$this->getRequestParameter('id') );
$c->addJoin(AlumnoPeer::ID,RelCalendariovacunacionAlumnoPeer::FK_ALUMNO_ID);
-
$Alum = AlumnoPeer::doSelectOne($c);
if($Alum->getFkCuentaId())
$this->redirect('cuenta/verCompleta?id='.$Alum->getFkCuentaId());
else
$this->redirect('alumno/list');
- }
+ }
}
-
+
function executeIrAlumnos(){
$this->redirect('alumno/list');
- }
+ }
-
- public function executeEdit ()
+ public function executeEdit($request)
{
$this->rel_calendariovacunacion_alumno = $this->getRelCalendariovacunacionAlumnoOrCreate();
@@ -89,13 +86,8 @@
// add javascripts
$this->getResponse()->addJavascript(sfConfig::get('sf_prototype_web_dir').'/js/prototype');
$this->getResponse()->addJavascript(sfConfig::get('sf_admin_web_dir').'/js/collapse');
- if ($this->getRequestParameter('fk_alumno_id'))
- $this->rel_calendariovacunacion_alumno->setFkAlumnoId($this->getRequestParameter('fk_alumno_id'));
-
-
+ if ($this->getRequestParameter('fk_alumno_id'))
+ $this->rel_calendariovacunacion_alumno->setFkAlumnoId($this->getRequestParameter('fk_alumno_id'));
}
}
-
-
-
}
Más información sobre la lista de distribución Alba-desarrollo