Alba-desarrollo
Threads by month
- ----- 2026 -----
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2025 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2007 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2006 -----
- December
July 2007
- 7 participants
- 103 discussions
SVN Alba r4880 - prosistem/alba/trunk/alba/apps/principal/modules/icalVisualizador/templates
by commits@pressenter.com.ar 30 Jul '07
by commits@pressenter.com.ar 30 Jul '07
30 Jul '07
Author: josx
Date: 2007-07-30 16:27:08 -0300 (Mon, 30 Jul 2007)
New Revision: 4880
Modified:
prosistem/alba/trunk/alba/apps/principal/modules/icalVisualizador/templates/_verPorSemana.php
Log:
Mejoras al calendario de vista semanal
Modified: prosistem/alba/trunk/alba/apps/principal/modules/icalVisualizador/templates/_verPorSemana.php
===================================================================
--- prosistem/alba/trunk/alba/apps/principal/modules/icalVisualizador/templates/_verPorSemana.php 2007-07-30 17:18:02 UTC (rev 4879)
+++ prosistem/alba/trunk/alba/apps/principal/modules/icalVisualizador/templates/_verPorSemana.php 2007-07-30 19:27:08 UTC (rev 4880)
@@ -86,8 +86,9 @@
</tr>
<?php
// print_R($aEvent);
-
+ $entreHoras = array();
$aTimeIdx = array();
+ $ult_guardo = -1;
for($i = 0, $max = count($aTime); $i < $max; $i += 4) { // each time iteration (60 minutes)
$aTimeIdx[0] = date("Hi",$aTime[$i]);
$aTimeIdx[1] = date("Hi",$aTime[($i+1)]);
@@ -95,7 +96,10 @@
$aTimeIdx[3] = date("Hi",$aTime[($i+3)]);
$find = 0;
$cant = 0;
+
+ $k_ant = -1;
for($k=0;$k<4;$k++) {
+ $cant_k=0;
echo "<tr>\n";
$j=0;
@@ -108,6 +112,7 @@
if(array_key_exists($each_date, $aEvent) AND array_key_exists($aTimeIdx[$k], $aEvent[$each_date])) {
$cant++;
$find = 1;
+ $kk = $k;
if($j == 0 AND $k == 0) {
echo '<td colspan="4" rowspan="4" align="center" valign="top" width="60" class="timeborder">'.date("H:i A",$aTime[$i]).'</td><td bgcolor="#a1a5a9" width="1" height="15"></td>';
} else {
@@ -115,7 +120,6 @@
echo '<td bgcolor="#a1a5a9" width="1" height="15"></td>'."\n";
}
}
-
foreach($aEvent[$each_date][$aTimeIdx[$k]] as $event) {
$width = ceil(80 / ($event['event_overlap']+1));
$rowspan = ceil(($event['event_length'] / 60 ) / 15); ?>
@@ -127,9 +131,11 @@
</div>
</td>
<?
- if($event['event_overlap']>1) {
- // echo "<td colspan='".($event['event_overlap']+1)."' class='weekborder'> </td>";
+ $ocupados = 4-round(substr($aTimeIdx[$k],2,2)/15);
+ if( $ocupados < $rowspan) {
+ $entreHoras["$i"][]=$rowspan-$ocupados;
}
+
}
} else {
if($j == 0 AND $k == 0) { // first time
@@ -141,17 +147,39 @@
}
}
- if($k > 0 AND $find == 1 AND $j == 6) { // only write 6 td if event was find
- } else {
- if($k > 0 AND $find == 1) {
- if($cant <= $j+1) {
+ $nn = 0;
+ if(isset($entreHoras)) {
+ foreach($entreHoras as $indice => $contenido ) {
+ if($indice != $i) {
+ $max_contenido = count($contenido);
+ for($pp=0;$pp<$max_contenido;$pp++) {
+ if($contenido[$pp]>0 AND $cant_k < $max_contenido) {
+ $entreHoras["$indice"][$pp]--;
+ $nn=1;
+ $cant_k++;
+ break 2;
+ }
+ }
+ }
+ }
+ }
+
+
+ if($nn == 0) {
+ if($k > 0 AND $find == 1 AND $j == 6) { // only write 6 td if event was find
+ if($k == $kk) {
echo '<td width="'.$width.'" colspan="1" class="weekborder"> </td>'."\n";
}
} else {
- echo '<td width="'.$width.'" colspan="'.$nbrGridCols[$week['day']].'" class="weekborder"> </td>'."\n";
+ if($k > 0 AND $find == 1) {
+ if($cant <= $j+1) {
+ echo '<td width="'.$width.'" colspan="1" class="weekborder"> </td>'."\n";
+ }
+ } else {
+ echo '<td width="'.$width.'" colspan="'.$nbrGridCols[$week['day']].'" class="weekborder"> </td>'."\n";
+ }
}
}
-
}
$j++;
}
1
0
SVN Alba r4879 - in prosistem/alba/trunk/alba/apps/principal: config modules/default/config modules/seguridad/actions
by commits@pressenter.com.ar 30 Jul '07
by commits@pressenter.com.ar 30 Jul '07
30 Jul '07
Author: ftoledo
Date: 2007-07-30 14:18:02 -0300 (Mon, 30 Jul 2007)
New Revision: 4879
Modified:
prosistem/alba/trunk/alba/apps/principal/config/settings.yml
prosistem/alba/trunk/alba/apps/principal/modules/default/config/security.yml
prosistem/alba/trunk/alba/apps/principal/modules/seguridad/actions/actions.class.php
Log:
permisos dependiendo de la demo
Modified: prosistem/alba/trunk/alba/apps/principal/config/settings.yml
===================================================================
--- prosistem/alba/trunk/alba/apps/principal/config/settings.yml 2007-07-30 16:04:40 UTC (rev 4878)
+++ prosistem/alba/trunk/alba/apps/principal/config/settings.yml 2007-07-30 17:18:02 UTC (rev 4879)
@@ -21,7 +21,6 @@
cache: off
-
test:
.settings:
# E_ALL | E_STRICT & ~E_NOTICE = 2047
Modified: prosistem/alba/trunk/alba/apps/principal/modules/default/config/security.yml
===================================================================
--- prosistem/alba/trunk/alba/apps/principal/modules/default/config/security.yml 2007-07-30 16:04:40 UTC (rev 4878)
+++ prosistem/alba/trunk/alba/apps/principal/modules/default/config/security.yml 2007-07-30 17:18:02 UTC (rev 4879)
@@ -1,3 +1,3 @@
all:
- is_secure: off
+ is_secure: on
\ No newline at end of file
Modified: prosistem/alba/trunk/alba/apps/principal/modules/seguridad/actions/actions.class.php
===================================================================
--- prosistem/alba/trunk/alba/apps/principal/modules/seguridad/actions/actions.class.php 2007-07-30 16:04:40 UTC (rev 4878)
+++ prosistem/alba/trunk/alba/apps/principal/modules/seguridad/actions/actions.class.php 2007-07-30 17:18:02 UTC (rev 4879)
@@ -84,12 +84,22 @@
/* asigno las credenciales */
$cperm = new Criteria();
$cperm->add(RelUsuarioPermisoPeer::FK_USUARIO_ID, $user->getId());
+ $cperm->addAscendingOrderBycolumn(PermisoPeer::CREDENCIAL);
$usuarioPermisos = RelUsuarioPermisoPeer::doSelectJoinPermiso($cperm);
foreach ($usuarioPermisos as $usuarioPermiso) {
$this->getUser()->addCredential($usuarioPermiso->getPermiso()->getCredencial());
$message = "{Credenciales} " . $usuarioPermiso->getPermiso()->getCredencial();
$this->debugMessage($message);
- }
+ }
+ // quitando credenciales para la demo
+ if(SF_ENVIRONMENT =='demo'){
+ $this->logMessage('{DEMO} quitando credenciales');
+ $this->getUser()->removeCredential('usuario');
+ $this->getUser()->removeCredential('permiso');
+ $this->getUser()->removeCredential('modulo');
+ $this->getUser()->removeCredential('rol');
+
+ }
$this->debugMessage('Login ok');
return $this->redirect($this->getRequestParameter('referer', '@homepage'));
}
@@ -116,7 +126,7 @@
$this->debugMessage("Logout");
$this->getUser()->clearCredentials();
$this->getUser()->setAuthenticated(false);
- $this->redirect('default/index');
+ $this->redirect('default');
}
/* pagina de ingreso del usuario */
public function executeEnviarclave() {
1
0
Author: ftoledo
Date: 2007-07-30 13:04:40 -0300 (Mon, 30 Jul 2007)
New Revision: 4878
Modified:
prosistem/alba/trunk/alba/web/sf
Log:
link a mi home?
Modified: prosistem/alba/trunk/alba/web/sf
===================================================================
--- prosistem/alba/trunk/alba/web/sf 2007-07-30 15:43:27 UTC (rev 4877)
+++ prosistem/alba/trunk/alba/web/sf 2007-07-30 16:04:40 UTC (rev 4878)
@@ -1 +1 @@
-link /home/ftoledo/alba/dist/symfony/data/web/sf
\ No newline at end of file
+link ../../dist/symfony/data/web/sf
\ No newline at end of file
1
0
SVN Alba r4877 - in prosistem/alba/trunk/alba: config data/sql lib/model/om
by commits@pressenter.com.ar 30 Jul '07
by commits@pressenter.com.ar 30 Jul '07
30 Jul '07
Author: ftoledo
Date: 2007-07-30 12:43:27 -0300 (Mon, 30 Jul 2007)
New Revision: 4877
Modified:
prosistem/alba/trunk/alba/config/schema.yml
prosistem/alba/trunk/alba/data/sql/lib.model.schema.sql
prosistem/alba/trunk/alba/lib/model/om/BaseActividad.php
prosistem/alba/trunk/alba/lib/model/om/BaseAlumno.php
prosistem/alba/trunk/alba/lib/model/om/BaseAnio.php
prosistem/alba/trunk/alba/lib/model/om/BaseCalendariovacunacion.php
prosistem/alba/trunk/alba/lib/model/om/BaseCargobaja.php
prosistem/alba/trunk/alba/lib/model/om/BaseCiclolectivo.php
prosistem/alba/trunk/alba/lib/model/om/BaseConceptobaja.php
prosistem/alba/trunk/alba/lib/model/om/BaseCuenta.php
prosistem/alba/trunk/alba/lib/model/om/BaseDistritoescolar.php
prosistem/alba/trunk/alba/lib/model/om/BaseDivision.php
prosistem/alba/trunk/alba/lib/model/om/BaseDocente.php
prosistem/alba/trunk/alba/lib/model/om/BaseEspacio.php
prosistem/alba/trunk/alba/lib/model/om/BaseEstablecimiento.php
prosistem/alba/trunk/alba/lib/model/om/BaseEvento.php
prosistem/alba/trunk/alba/lib/model/om/BaseExamen.php
prosistem/alba/trunk/alba/lib/model/om/BaseHorarioescolartipo.php
prosistem/alba/trunk/alba/lib/model/om/BaseLocacion.php
prosistem/alba/trunk/alba/lib/model/om/BaseModulo.php
prosistem/alba/trunk/alba/lib/model/om/BaseNiveltipo.php
prosistem/alba/trunk/alba/lib/model/om/BaseOrganizacion.php
prosistem/alba/trunk/alba/lib/model/om/BasePais.php
prosistem/alba/trunk/alba/lib/model/om/BasePeriodo.php
prosistem/alba/trunk/alba/lib/model/om/BasePermiso.php
prosistem/alba/trunk/alba/lib/model/om/BasePreferencia.php
prosistem/alba/trunk/alba/lib/model/om/BaseProvincia.php
prosistem/alba/trunk/alba/lib/model/om/BaseRelRolresponsableResponsable.php
prosistem/alba/trunk/alba/lib/model/om/BaseRepeticion.php
prosistem/alba/trunk/alba/lib/model/om/BaseResponsable.php
prosistem/alba/trunk/alba/lib/model/om/BaseRol.php
prosistem/alba/trunk/alba/lib/model/om/BaseRolResponsable.php
prosistem/alba/trunk/alba/lib/model/om/BaseTipoasistencia.php
prosistem/alba/trunk/alba/lib/model/om/BaseTipodocente.php
prosistem/alba/trunk/alba/lib/model/om/BaseTipodocumento.php
prosistem/alba/trunk/alba/lib/model/om/BaseTipoespacio.php
prosistem/alba/trunk/alba/lib/model/om/BaseTipoiva.php
prosistem/alba/trunk/alba/lib/model/om/BaseTipolocacion.php
prosistem/alba/trunk/alba/lib/model/om/BaseTurnos.php
prosistem/alba/trunk/alba/lib/model/om/BaseUsuario.php
Log:
sacando default: del schema.yml
para que no genere null's
Modified: prosistem/alba/trunk/alba/config/schema.yml
===================================================================
--- prosistem/alba/trunk/alba/config/schema.yml 2007-07-30 14:58:43 UTC (rev 4876)
+++ prosistem/alba/trunk/alba/config/schema.yml 2007-07-30 15:43:27 UTC (rev 4877)
@@ -14,7 +14,6 @@
type: VARCHAR
size: 128
required: true
- default:
descripcion:
type: VARCHAR
size: 255
@@ -22,17 +21,14 @@
type: VARCHAR
size: 128
required: true
- default:
ciudad:
type: VARCHAR
size: 128
required: true
- default:
codigo_postal:
type: VARCHAR
size: 20
required: false
- default:
fk_provincia_id:
type: INTEGER
required: true
@@ -73,7 +69,6 @@
type: VARCHAR
size: 128
required: true
- default:
titulo:
type: VARCHAR
size: 128
@@ -96,7 +91,6 @@
type: VARCHAR
size: 128
required: true
- default:
m2:
type: FLOAT
capacidad:
@@ -131,12 +125,10 @@
type: VARCHAR
size: 128
required: true
- default:
descripcion:
type: VARCHAR
size: 255
required: false
- default:
tipolocacion:
_attributes:
idMethod: native
@@ -149,12 +141,10 @@
type: VARCHAR
size: 128
required: true
- default:
descripcion:
type: VARCHAR
size: 255
required: false
- default:
distritoescolar:
_attributes:
idMethod: native
@@ -167,7 +157,6 @@
type: VARCHAR
size: 128
required: true
- default:
direccion:
type: VARCHAR
size: 128
@@ -189,7 +178,6 @@
type: VARCHAR
size: 128
required: true
- default:
descripcion:
type: VARCHAR
size: 255
@@ -223,7 +211,6 @@
type: VARCHAR
size: 128
required: true
- default:
descripcion:
type: VARCHAR
size: 255
@@ -239,7 +226,6 @@
type: VARCHAR
size: 128
required: true
- default:
descripcion:
type: VARCHAR
size: 255
@@ -247,32 +233,26 @@
type: VARCHAR
size: 128
required: true
- default:
cuit:
type: VARCHAR
size: 20
required: true
- default:
direccion:
type: VARCHAR
size: 128
required: true
- default:
ciudad:
type: VARCHAR
size: 128
required: true
- default:
codigo_postal:
type: VARCHAR
size: 20
required: true
- default:
telefono:
type: VARCHAR
size: 20
required: false
- default:
fk_provincia_id:
type: INTEGER
required: true
@@ -297,12 +277,10 @@
type: VARCHAR
size: 128
required: true
- default:
nombre_corto:
type: VARCHAR
size: 32
required: true
- default:
orden:
type: INTEGER
required: false
@@ -319,7 +297,6 @@
type: VARCHAR
size: 128
required: true
- default:
descripcion:
type: VARCHAR
size: 255
@@ -344,7 +321,6 @@
type: VARCHAR
size: 128
required: true
- default:
valor_por_defecto:
type: VARCHAR
size: 128
@@ -441,11 +417,9 @@
type: VARCHAR
size: 128
required: true
- default:
descripcion:
type: VARCHAR
size: 255
- default:
activo:
type: BOOLEAN
required: true
@@ -462,12 +436,10 @@
type: VARCHAR
size: 32
required: true
- default:
clave:
type: VARCHAR
size: 48
required: true
- default:
correo_publico:
type: BOOLEAN
required: false
@@ -513,12 +485,10 @@
type: VARCHAR
size: 128
required: true
- default:
descripcion:
type: VARCHAR
size: 255
required: false
- default:
orden:
type: INTEGER
required: false
@@ -535,12 +505,10 @@
type: VARCHAR
size: 32
required: true
- default:
nombre_largo:
type: VARCHAR
size: 128
required: true
- default:
fk_pais_id:
type: INTEGER
required: true
@@ -563,37 +531,30 @@
type: VARCHAR
size: 128
required: true
- default:
razon_social:
type: VARCHAR
size: 128
required: true
- default:
cuit:
type: VARCHAR
size: 20
required: true
- default:
direccion:
type: VARCHAR
size: 128
required: true
- default:
ciudad:
type: VARCHAR
size: 128
required: true
- default:
codigo_postal:
type: VARCHAR
size: 20
required: true
- default:
telefono:
type: VARCHAR
size: 20
required: false
- default:
fk_provincia_id:
type: INTEGER
required: true
@@ -618,12 +579,10 @@
type: VARCHAR
size: 128
required: true
- default:
apellido:
type: VARCHAR
size: 128
required: true
- default:
fecha_nacimiento:
type: TIMESTAMP
required: true
@@ -631,17 +590,14 @@
type: VARCHAR
size: 128
required: true
- default:
ciudad:
type: VARCHAR
size: 128
required: true
- default:
codigo_postal:
type: VARCHAR
size: 20
required: true
- default:
fk_provincia_id:
type: INTEGER
required: true
@@ -652,12 +608,10 @@
type: VARCHAR
size: 20
required: false
- default:
lugar_nacimiento:
type: VARCHAR
size: 128
required: false
- default:
fk_tipodocumento_id:
type: integer
size: 11
@@ -669,17 +623,14 @@
type: varchar
size: 16
required: true
- default:
sexo:
type: CHAR
size: 1
required: true
-# default:
email:
type: VARCHAR
size: 128
required: true
- default:
distancia_escuela:
type: INTEGER
required: false
@@ -735,27 +686,22 @@
type: VARCHAR
size: 128
required: true
- default:
apellido:
type: VARCHAR
size: 128
required: true
- default:
direccion:
type: VARCHAR
size: 128
required: false
- default:
ciudad:
type: VARCHAR
size: 128
required: false
- default:
codigo_postal:
type: VARCHAR
size: 20
required: false
- default:
fk_provincia_id:
type: INTEGER
required: true
@@ -766,17 +712,14 @@
type: VARCHAR
size: 20
required: false
- default:
telefono_movil:
type: VARCHAR
size: 20
required: false
- default:
nro_documento:
type: VARCHAR
size: 20
required: true
- default:
fk_tipodocumento_id:
type: INTEGER
required: true
@@ -787,17 +730,14 @@
type: CHAR
size: 1
required: true
-# default:
email:
type: VARCHAR
size: 128
required: false
- default:
observacion:
type: VARCHAR
size: 255
required: false
- default:
autorizacion_retiro:
type: boolean
required: true
@@ -839,7 +779,6 @@
type: varchar
size: 255
required: true
- default:
actual:
type: boolean
required: true
@@ -869,7 +808,6 @@
type: varchar
size: 255
required: true
- default:
periodo:
_attributes:
idMethod: native
@@ -895,7 +833,6 @@
type: varchar
size: 255
required: true
- default:
conceptobaja:
_attributes:
idMethod: native
@@ -913,7 +850,6 @@
type: varchar
size: 255
required: false
- default:
tipodocente:
_attributes:
idMethod: native
@@ -931,7 +867,6 @@
type: varchar
size: 255
required: false
- default:
cargobaja:
_attributes:
idMethod: native
@@ -949,7 +884,6 @@
type: varchar
size: 255
required: false
- default:
calendariovacunacion:
_attributes:
idMethod: native
@@ -975,7 +909,6 @@
type: varchar
size: 255
required: false
- default:
rel_calendariovacunacion_alumno:
_attributes:
idMethod: native
@@ -1314,7 +1247,6 @@
nombre:
type: varchar
size: 255
- default:
required: true
observacion:
type: blob
@@ -1342,7 +1274,6 @@
type: varchar
size: 255
required: true
- default:
division:
_attributes:
idMethod: native
@@ -1363,7 +1294,6 @@
type: varchar
size: 255
required: true
- default:
fk_turnos_id:
type: integer
size: 11
@@ -1388,7 +1318,6 @@
type: varchar
size: 255
required: true
- default:
orden:
type: integer
size: 11
@@ -1414,7 +1343,6 @@
type: varchar
size: 128
required: true
- default:
descripcion:
type: varchar
size: 255
@@ -1520,12 +1448,10 @@
type: VARCHAR
size: 128
required: true
- default:
nombre:
type: VARCHAR
size: 128
required: true
- default:
sexo:
type: CHAR
size: 1
@@ -1545,42 +1471,34 @@
type: varchar
size: 16
required: true
- default:
direccion:
type: varchar
size: 128
required: false
- default:
ciudad:
type: varchar
size: 128
required: false
- default:
codigo_postal:
type: varchar
size: 20
required: false
- default:
email:
type: varchar
size: 255
required: false
- default:
telefono:
type: varchar
size: 20
required: false
- default:
telefono_movil:
type: varchar
size: 20
required: false
- default:
titulo:
type: varchar
size: 128
required: true
- default:
libreta_sanitaria:
type: boolean
required: false
@@ -1629,12 +1547,10 @@
type: VARCHAR
size: 128
required: true
- default:
descripcion:
type: VARCHAR
size: 255
required: false
- default:
orden:
type: integer
size: 11
@@ -1760,7 +1676,6 @@
type: VARCHAR
size: 128
required: true
- default:
descripcion:
type: VARCHAR
size: 255
@@ -1782,7 +1697,6 @@
type: VARCHAR
size: 255
required: false
- default:
valor:
type: DECIMAL
size: 4,2
@@ -1792,7 +1706,6 @@
type: VARCHAR
size: 30
required: false
- default:
defecto:
type: BOOLEAN
required: true
@@ -1809,11 +1722,9 @@
type: VARCHAR
size: 128
required: true
- default:
descripcion:
type: VARCHAR
size: 255
- default:
activo:
type: BOOLEAN
required: true
@@ -1852,7 +1763,6 @@
type: VARCHAR
size: 16
required: false
- default:
recurrencia_dias:
type: INTEGER
required: true
@@ -1894,4 +1804,3 @@
descripcion:
type: VARCHAR
size: 255
- default:
Modified: prosistem/alba/trunk/alba/data/sql/lib.model.schema.sql
===================================================================
--- prosistem/alba/trunk/alba/data/sql/lib.model.schema.sql 2007-07-30 14:58:43 UTC (rev 4876)
+++ prosistem/alba/trunk/alba/data/sql/lib.model.schema.sql 2007-07-30 15:43:27 UTC (rev 4877)
@@ -13,11 +13,11 @@
CREATE TABLE `locacion`
(
`id` INTEGER NOT NULL AUTO_INCREMENT,
- `nombre` VARCHAR(128) default 'null' NOT NULL,
+ `nombre` VARCHAR(128) NOT NULL,
`descripcion` VARCHAR(255),
- `direccion` VARCHAR(128) default 'null' NOT NULL,
- `ciudad` VARCHAR(128) default 'null' NOT NULL,
- `codigo_postal` VARCHAR(20) default 'null',
+ `direccion` VARCHAR(128) NOT NULL,
+ `ciudad` VARCHAR(128) NOT NULL,
+ `codigo_postal` VARCHAR(20),
`fk_provincia_id` INTEGER default 0 NOT NULL,
`fk_tipolocacion_id` INTEGER default 0 NOT NULL,
`telefono` VARCHAR(20),
@@ -46,7 +46,7 @@
CREATE TABLE `modulo`
(
`id` INTEGER NOT NULL AUTO_INCREMENT,
- `nombre` VARCHAR(128) default 'null' NOT NULL,
+ `nombre` VARCHAR(128) NOT NULL,
`titulo` VARCHAR(128),
`descripcion` VARCHAR(255),
`activo` INTEGER default 1 NOT NULL,
@@ -63,7 +63,7 @@
CREATE TABLE `espacio`
(
`id` INTEGER NOT NULL AUTO_INCREMENT,
- `nombre` VARCHAR(128) default 'null' NOT NULL,
+ `nombre` VARCHAR(128) NOT NULL,
`m2` FLOAT,
`capacidad` VARCHAR(255),
`descripcion` VARCHAR(255),
@@ -91,8 +91,8 @@
CREATE TABLE `tipoespacio`
(
`id` INTEGER NOT NULL AUTO_INCREMENT,
- `nombre` VARCHAR(128) default 'null' NOT NULL,
- `descripcion` VARCHAR(255) default 'null',
+ `nombre` VARCHAR(128) NOT NULL,
+ `descripcion` VARCHAR(255),
PRIMARY KEY (`id`)
)Type=InnoDB;
@@ -106,8 +106,8 @@
CREATE TABLE `tipolocacion`
(
`id` INTEGER NOT NULL AUTO_INCREMENT,
- `nombre` VARCHAR(128) default 'null' NOT NULL,
- `descripcion` VARCHAR(255) default 'null',
+ `nombre` VARCHAR(128) NOT NULL,
+ `descripcion` VARCHAR(255),
PRIMARY KEY (`id`)
)Type=InnoDB;
@@ -121,7 +121,7 @@
CREATE TABLE `distritoescolar`
(
`id` INTEGER NOT NULL AUTO_INCREMENT,
- `nombre` VARCHAR(128) default 'null' NOT NULL,
+ `nombre` VARCHAR(128) NOT NULL,
`direccion` VARCHAR(128),
`telefono` VARCHAR(20),
`ciudad` VARCHAR(128),
@@ -138,7 +138,7 @@
CREATE TABLE `establecimiento`
(
`id` INTEGER NOT NULL AUTO_INCREMENT,
- `nombre` VARCHAR(128) default 'null' NOT NULL,
+ `nombre` VARCHAR(128) NOT NULL,
`descripcion` VARCHAR(255),
`fk_distritoescolar_id` INTEGER default 0 NOT NULL,
`fk_organizacion_id` INTEGER default 0 NOT NULL,
@@ -168,7 +168,7 @@
CREATE TABLE `niveltipo`
(
`id` INTEGER NOT NULL AUTO_INCREMENT,
- `nombre` VARCHAR(128) default 'null' NOT NULL,
+ `nombre` VARCHAR(128) NOT NULL,
`descripcion` VARCHAR(255),
PRIMARY KEY (`id`)
)Type=InnoDB;
@@ -183,14 +183,14 @@
CREATE TABLE `organizacion`
(
`id` INTEGER NOT NULL AUTO_INCREMENT,
- `nombre` VARCHAR(128) default 'null' NOT NULL,
+ `nombre` VARCHAR(128) NOT NULL,
`descripcion` VARCHAR(255),
- `razon_social` VARCHAR(128) default 'null' NOT NULL,
- `cuit` VARCHAR(20) default 'null' NOT NULL,
- `direccion` VARCHAR(128) default 'null' NOT NULL,
- `ciudad` VARCHAR(128) default 'null' NOT NULL,
- `codigo_postal` VARCHAR(20) default 'null' NOT NULL,
- `telefono` VARCHAR(20) default 'null',
+ `razon_social` VARCHAR(128) NOT NULL,
+ `cuit` VARCHAR(20) NOT NULL,
+ `direccion` VARCHAR(128) NOT NULL,
+ `ciudad` VARCHAR(128) NOT NULL,
+ `codigo_postal` VARCHAR(20) NOT NULL,
+ `telefono` VARCHAR(20),
`fk_provincia_id` INTEGER default 0 NOT NULL,
`fk_tipoiva_id` INTEGER default 0 NOT NULL,
PRIMARY KEY (`id`),
@@ -214,8 +214,8 @@
CREATE TABLE `pais`
(
`id` INTEGER NOT NULL AUTO_INCREMENT,
- `nombre_largo` VARCHAR(128) default 'null' NOT NULL,
- `nombre_corto` VARCHAR(32) default 'null' NOT NULL,
+ `nombre_largo` VARCHAR(128) NOT NULL,
+ `nombre_corto` VARCHAR(32) NOT NULL,
`orden` INTEGER default 0,
PRIMARY KEY (`id`)
)Type=InnoDB;
@@ -230,7 +230,7 @@
CREATE TABLE `permiso`
(
`id` INTEGER NOT NULL AUTO_INCREMENT,
- `nombre` VARCHAR(128) default 'null' NOT NULL,
+ `nombre` VARCHAR(128) NOT NULL,
`descripcion` VARCHAR(255),
`fk_modulo_id` INTEGER default 0 NOT NULL,
`credencial` VARCHAR(32),
@@ -251,7 +251,7 @@
CREATE TABLE `preferencia`
(
`id` INTEGER NOT NULL AUTO_INCREMENT,
- `nombre` VARCHAR(128) default 'null' NOT NULL,
+ `nombre` VARCHAR(128) NOT NULL,
`valor_por_defecto` VARCHAR(128),
`activo` INTEGER default 1 NOT NULL,
PRIMARY KEY (`id`)
@@ -352,8 +352,8 @@
CREATE TABLE `rol`
(
`id` INTEGER NOT NULL AUTO_INCREMENT,
- `nombre` VARCHAR(128) default 'null' NOT NULL,
- `descripcion` VARCHAR(255) default 'null',
+ `nombre` VARCHAR(128) NOT NULL,
+ `descripcion` VARCHAR(255),
`activo` INTEGER default 1 NOT NULL,
PRIMARY KEY (`id`)
)Type=InnoDB;
@@ -368,8 +368,8 @@
CREATE TABLE `usuario`
(
`id` INTEGER NOT NULL AUTO_INCREMENT,
- `usuario` VARCHAR(32) default 'null' NOT NULL,
- `clave` VARCHAR(48) default 'null' NOT NULL,
+ `usuario` VARCHAR(32) NOT NULL,
+ `clave` VARCHAR(48) NOT NULL,
`correo_publico` INTEGER default 1,
`activo` INTEGER default 1 NOT NULL,
`fecha_creado` DATETIME NOT NULL,
@@ -396,8 +396,8 @@
CREATE TABLE `tipoiva`
(
`id` INTEGER NOT NULL,
- `nombre` VARCHAR(128) default 'null' NOT NULL,
- `descripcion` VARCHAR(255) default 'null',
+ `nombre` VARCHAR(128) NOT NULL,
+ `descripcion` VARCHAR(255),
`orden` INTEGER default 0,
PRIMARY KEY (`id`)
)Type=InnoDB;
@@ -412,8 +412,8 @@
CREATE TABLE `provincia`
(
`id` INTEGER NOT NULL AUTO_INCREMENT,
- `nombre_corto` VARCHAR(32) default 'null' NOT NULL,
- `nombre_largo` VARCHAR(128) default 'null' NOT NULL,
+ `nombre_corto` VARCHAR(32) NOT NULL,
+ `nombre_largo` VARCHAR(128) NOT NULL,
`fk_pais_id` INTEGER default 0 NOT NULL,
`orden` INTEGER default 0,
PRIMARY KEY (`id`),
@@ -433,13 +433,13 @@
CREATE TABLE `cuenta`
(
`id` INTEGER NOT NULL AUTO_INCREMENT,
- `nombre` VARCHAR(128) default 'null' NOT NULL,
- `razon_social` VARCHAR(128) default 'null' NOT NULL,
- `cuit` VARCHAR(20) default 'null' NOT NULL,
- `direccion` VARCHAR(128) default 'null' NOT NULL,
- `ciudad` VARCHAR(128) default 'null' NOT NULL,
- `codigo_postal` VARCHAR(20) default 'null' NOT NULL,
- `telefono` VARCHAR(20) default 'null',
+ `nombre` VARCHAR(128) NOT NULL,
+ `razon_social` VARCHAR(128) NOT NULL,
+ `cuit` VARCHAR(20) NOT NULL,
+ `direccion` VARCHAR(128) NOT NULL,
+ `ciudad` VARCHAR(128) NOT NULL,
+ `codigo_postal` VARCHAR(20) NOT NULL,
+ `telefono` VARCHAR(20),
`fk_provincia_id` INTEGER default 0 NOT NULL,
`fk_tipoiva_id` INTEGER default 0 NOT NULL,
PRIMARY KEY (`id`),
@@ -463,19 +463,19 @@
CREATE TABLE `alumno`
(
`id` INTEGER NOT NULL AUTO_INCREMENT,
- `nombre` VARCHAR(128) default 'null' NOT NULL,
- `apellido` VARCHAR(128) default 'null' NOT NULL,
+ `nombre` VARCHAR(128) NOT NULL,
+ `apellido` VARCHAR(128) NOT NULL,
`fecha_nacimiento` DATETIME NOT NULL,
- `direccion` VARCHAR(128) default 'null' NOT NULL,
- `ciudad` VARCHAR(128) default 'null' NOT NULL,
- `codigo_postal` VARCHAR(20) default 'null' NOT NULL,
+ `direccion` VARCHAR(128) NOT NULL,
+ `ciudad` VARCHAR(128) NOT NULL,
+ `codigo_postal` VARCHAR(20) NOT NULL,
`fk_provincia_id` INTEGER default 0 NOT NULL,
- `telefono` VARCHAR(20) default 'null',
- `lugar_nacimiento` VARCHAR(128) default 'null',
+ `telefono` VARCHAR(20),
+ `lugar_nacimiento` VARCHAR(128),
`fk_tipodocumento_id` INTEGER(11) default 0 NOT NULL,
- `nro_documento` VARCHAR(16) default 'null' NOT NULL,
+ `nro_documento` VARCHAR(16) NOT NULL,
`sexo` CHAR(1) NOT NULL,
- `email` VARCHAR(128) default 'null' NOT NULL,
+ `email` VARCHAR(128) NOT NULL,
`distancia_escuela` INTEGER default 0,
`hermanos_escuela` INTEGER default 0 NOT NULL,
`hijo_maestro_escuela` INTEGER default 0 NOT NULL,
@@ -522,19 +522,19 @@
CREATE TABLE `responsable`
(
`id` INTEGER NOT NULL AUTO_INCREMENT,
- `nombre` VARCHAR(128) default 'null' NOT NULL,
- `apellido` VARCHAR(128) default 'null' NOT NULL,
- `direccion` VARCHAR(128) default 'null',
- `ciudad` VARCHAR(128) default 'null',
- `codigo_postal` VARCHAR(20) default 'null',
+ `nombre` VARCHAR(128) NOT NULL,
+ `apellido` VARCHAR(128) NOT NULL,
+ `direccion` VARCHAR(128),
+ `ciudad` VARCHAR(128),
+ `codigo_postal` VARCHAR(20),
`fk_provincia_id` INTEGER default 0 NOT NULL,
- `telefono` VARCHAR(20) default 'null',
- `telefono_movil` VARCHAR(20) default 'null',
- `nro_documento` VARCHAR(20) default 'null' NOT NULL,
+ `telefono` VARCHAR(20),
+ `telefono_movil` VARCHAR(20),
+ `nro_documento` VARCHAR(20) NOT NULL,
`fk_tipodocumento_id` INTEGER default 0 NOT NULL,
`sexo` CHAR(1) NOT NULL,
- `email` VARCHAR(128) default 'null',
- `observacion` VARCHAR(255) default 'null',
+ `email` VARCHAR(128),
+ `observacion` VARCHAR(255),
`autorizacion_retiro` INTEGER default 0 NOT NULL,
`fk_cuenta_id` INTEGER default 0 NOT NULL,
`fk_rolresponsable_id` INTEGER default 1 NOT NULL,
@@ -570,7 +570,7 @@
`fk_establecimiento_id` INTEGER(11) NOT NULL,
`fecha_inicio` DATETIME NOT NULL,
`fecha_fin` DATETIME NOT NULL,
- `descripcion` VARCHAR(255) default 'null' NOT NULL,
+ `descripcion` VARCHAR(255) NOT NULL,
`actual` INTEGER default 0 NOT NULL,
PRIMARY KEY (`id`),
INDEX `ciclolectivo_FI_1` (`fk_establecimiento_id`),
@@ -592,7 +592,7 @@
`fk_ciclolectivo_id` INTEGER(11) NOT NULL,
`hora_inicio` TIME NOT NULL,
`hora_fin` TIME NOT NULL,
- `descripcion` VARCHAR(255) default 'null' NOT NULL,
+ `descripcion` VARCHAR(255) NOT NULL,
PRIMARY KEY (`id`),
INDEX `turnos_FI_1` (`fk_ciclolectivo_id`),
CONSTRAINT `turnos_FK_1`
@@ -613,7 +613,7 @@
`fk_ciclolectivo_id` INTEGER(11) NOT NULL,
`fecha_inicio` DATETIME NOT NULL,
`fecha_fin` DATETIME NOT NULL,
- `descripcion` VARCHAR(255) default 'null' NOT NULL,
+ `descripcion` VARCHAR(255) NOT NULL,
PRIMARY KEY (`id`),
INDEX `periodo_FI_1` (`fk_ciclolectivo_id`),
CONSTRAINT `periodo_FK_1`
@@ -632,7 +632,7 @@
(
`id` INTEGER(11) NOT NULL AUTO_INCREMENT,
`nombre` VARCHAR(128) NOT NULL,
- `descripcion` VARCHAR(255) default 'null',
+ `descripcion` VARCHAR(255),
PRIMARY KEY (`id`)
)Type=InnoDB;
@@ -647,7 +647,7 @@
(
`id` INTEGER(11) NOT NULL AUTO_INCREMENT,
`nombre` VARCHAR(128) NOT NULL,
- `descripcion` VARCHAR(255) default 'null',
+ `descripcion` VARCHAR(255),
PRIMARY KEY (`id`)
)Type=InnoDB;
@@ -662,7 +662,7 @@
(
`id` INTEGER(11) NOT NULL AUTO_INCREMENT,
`nombre` VARCHAR(128) NOT NULL,
- `descripcion` VARCHAR(255) default 'null',
+ `descripcion` VARCHAR(255),
PRIMARY KEY (`id`)
)Type=InnoDB;
@@ -679,7 +679,7 @@
`nombre` VARCHAR(128) NOT NULL,
`descripcion` VARCHAR(255),
`periodo` VARCHAR(128),
- `observacion` VARCHAR(255) default 'null',
+ `observacion` VARCHAR(255),
PRIMARY KEY (`id`)
)Type=InnoDB;
@@ -947,7 +947,7 @@
`fk_alumno_id` INTEGER(11) default 0 NOT NULL,
`fk_actividad_id` INTEGER(11) default 0 NOT NULL,
`fk_periodo_id` INTEGER(11) default 0 NOT NULL,
- `nombre` VARCHAR(255) default 'null' NOT NULL,
+ `nombre` VARCHAR(255) NOT NULL,
`observacion` LONGBLOB NOT NULL,
`fecha` DATETIME NOT NULL,
PRIMARY KEY (`id`),
@@ -980,7 +980,7 @@
(
`id` INTEGER(11) NOT NULL AUTO_INCREMENT,
`fk_establecimiento_id` INTEGER(11) default 0 NOT NULL,
- `descripcion` VARCHAR(255) default 'null' NOT NULL,
+ `descripcion` VARCHAR(255) NOT NULL,
PRIMARY KEY (`id`),
INDEX `anio_FI_1` (`fk_establecimiento_id`),
CONSTRAINT `anio_FK_1`
@@ -999,7 +999,7 @@
(
`id` INTEGER(11) NOT NULL AUTO_INCREMENT,
`fk_anio_id` INTEGER(11) default 0 NOT NULL,
- `descripcion` VARCHAR(255) default 'null' NOT NULL,
+ `descripcion` VARCHAR(255) NOT NULL,
`fk_turnos_id` INTEGER(11) default 0 NOT NULL,
`orden` INTEGER default 0,
PRIMARY KEY (`id`),
@@ -1023,7 +1023,7 @@
CREATE TABLE `repeticion`
(
`id` INTEGER(11) NOT NULL AUTO_INCREMENT,
- `descripcion` VARCHAR(255) default 'null' NOT NULL,
+ `descripcion` VARCHAR(255) NOT NULL,
`orden` INTEGER(11) default 0 NOT NULL,
PRIMARY KEY (`id`)
)Type=InnoDB;
@@ -1039,7 +1039,7 @@
(
`id` INTEGER(11) NOT NULL AUTO_INCREMENT,
`fk_establecimiento_id` INTEGER(11) default 0 NOT NULL,
- `nombre` VARCHAR(128) default 'null' NOT NULL,
+ `nombre` VARCHAR(128) NOT NULL,
`descripcion` VARCHAR(255),
PRIMARY KEY (`id`),
INDEX `actividad_FI_1` (`fk_establecimiento_id`),
@@ -1109,11 +1109,6 @@
`fk_actividad_id` INTEGER(11) default 0 NOT NULL,
`fk_docente_id` INTEGER(11) default 0,
`fk_evento_id` INTEGER(11) default 0,
- `fk_repeticion_id` INTEGER(11) default 0,
- `fecha_inicio` DATETIME NOT NULL,
- `fecha_fin` DATETIME NOT NULL,
- `hora_inicio` TIME NOT NULL,
- `hora_fin` TIME NOT NULL,
PRIMARY KEY (`id`),
INDEX `rel_division_actividad_docente_FI_1` (`fk_division_id`),
CONSTRAINT `rel_division_actividad_docente_FK_1`
@@ -1130,11 +1125,8 @@
INDEX `rel_division_actividad_docente_FI_4` (`fk_evento_id`),
CONSTRAINT `rel_division_actividad_docente_FK_4`
FOREIGN KEY (`fk_evento_id`)
- REFERENCES `evento` (`id`),
- INDEX `rel_division_actividad_docente_FI_5` (`fk_repeticion_id`),
- CONSTRAINT `rel_division_actividad_docente_FK_5`
- FOREIGN KEY (`fk_repeticion_id`)
- REFERENCES `repeticion` (`id`)
+ REFERENCES `evento` (`id`)
+ ON DELETE CASCADE
)Type=InnoDB;
#-----------------------------------------------------------------------------
@@ -1147,19 +1139,19 @@
CREATE TABLE `docente`
(
`id` INTEGER NOT NULL AUTO_INCREMENT,
- `apellido` VARCHAR(128) default 'null' NOT NULL,
- `nombre` VARCHAR(128) default 'null' NOT NULL,
+ `apellido` VARCHAR(128) NOT NULL,
+ `nombre` VARCHAR(128) NOT NULL,
`sexo` CHAR(1) NOT NULL,
`fecha_nacimiento` DATETIME NOT NULL,
`fk_tipodocumento_id` INTEGER(11) default 0 NOT NULL,
- `nro_documento` VARCHAR(16) default 'null' NOT NULL,
- `direccion` VARCHAR(128) default 'null',
- `ciudad` VARCHAR(128) default 'null',
- `codigo_postal` VARCHAR(20) default 'null',
- `email` VARCHAR(255) default 'null',
- `telefono` VARCHAR(20) default 'null',
- `telefono_movil` VARCHAR(20) default 'null',
- `titulo` VARCHAR(128) default 'null' NOT NULL,
+ `nro_documento` VARCHAR(16) NOT NULL,
+ `direccion` VARCHAR(128),
+ `ciudad` VARCHAR(128),
+ `codigo_postal` VARCHAR(20),
+ `email` VARCHAR(255),
+ `telefono` VARCHAR(20),
+ `telefono_movil` VARCHAR(20),
+ `titulo` VARCHAR(128) NOT NULL,
`libreta_sanitaria` INTEGER default 0,
`psicofisico` INTEGER default 0,
`activo` INTEGER default 1,
@@ -1208,8 +1200,8 @@
CREATE TABLE `tipodocumento`
(
`id` INTEGER NOT NULL AUTO_INCREMENT,
- `nombre` VARCHAR(128) default 'null' NOT NULL,
- `descripcion` VARCHAR(255) default 'null',
+ `nombre` VARCHAR(128) NOT NULL,
+ `descripcion` VARCHAR(255),
`orden` INTEGER(11) default 0,
PRIMARY KEY (`id`)
)Type=InnoDB;
@@ -1254,6 +1246,7 @@
CONSTRAINT `docente_horario_FK_2`
FOREIGN KEY (`fk_evento_id`)
REFERENCES `evento` (`id`)
+ ON DELETE CASCADE
)Type=InnoDB;
#-----------------------------------------------------------------------------
@@ -1298,7 +1291,8 @@
INDEX `horarioescolar_FI_1` (`fk_evento_id`),
CONSTRAINT `horarioescolar_FK_1`
FOREIGN KEY (`fk_evento_id`)
- REFERENCES `evento` (`id`),
+ REFERENCES `evento` (`id`)
+ ON DELETE CASCADE,
INDEX `horarioescolar_FI_2` (`fk_establecimiento_id`),
CONSTRAINT `horarioescolar_FK_2`
FOREIGN KEY (`fk_establecimiento_id`)
@@ -1323,7 +1317,7 @@
CREATE TABLE `horarioescolartipo`
(
`id` INTEGER NOT NULL AUTO_INCREMENT,
- `nombre` VARCHAR(128) default 'null' NOT NULL,
+ `nombre` VARCHAR(128) NOT NULL,
`descripcion` VARCHAR(255),
PRIMARY KEY (`id`)
)Type=InnoDB;
@@ -1339,9 +1333,9 @@
(
`id` INTEGER(11) NOT NULL AUTO_INCREMENT,
`nombre` VARCHAR(10) NOT NULL,
- `descripcion` VARCHAR(255) default 'null',
+ `descripcion` VARCHAR(255),
`valor` DECIMAL(4,2) default 1 NOT NULL,
- `grupo` VARCHAR(30) default 'null',
+ `grupo` VARCHAR(30),
`defecto` INTEGER default 0 NOT NULL,
PRIMARY KEY (`id`)
)Type=InnoDB;
@@ -1356,8 +1350,8 @@
CREATE TABLE `rol_responsable`
(
`id` INTEGER NOT NULL AUTO_INCREMENT,
- `nombre` VARCHAR(128) default 'null' NOT NULL,
- `descripcion` VARCHAR(255) default 'null',
+ `nombre` VARCHAR(128) NOT NULL,
+ `descripcion` VARCHAR(255),
`activo` INTEGER default 1 NOT NULL,
PRIMARY KEY (`id`)
)Type=InnoDB;
@@ -1378,7 +1372,7 @@
`tipo` INTEGER default 0 NOT NULL,
`frecuencia` INTEGER default 0 NOT NULL,
`frecuencia_intervalo` INTEGER default 0 NOT NULL,
- `recurrencia_fin` VARCHAR(16) default 'null',
+ `recurrencia_fin` VARCHAR(16),
`recurrencia_dias` INTEGER default 0 NOT NULL,
`estado` INTEGER default 0 NOT NULL,
PRIMARY KEY (`id`)
@@ -1397,7 +1391,7 @@
`fk_rolresponsable_id` INTEGER(11) default 0 NOT NULL,
`fk_responsable_id` INTEGER(11) default 0 NOT NULL,
`fk_alumno_id` INTEGER(11) default 0 NOT NULL,
- `descripcion` VARCHAR(255) default 'null',
+ `descripcion` VARCHAR(255),
PRIMARY KEY (`id`),
INDEX `rel_rolresponsable_responsable_FI_1` (`fk_rolresponsable_id`),
CONSTRAINT `rel_rolresponsable_responsable_FK_1`
Modified: prosistem/alba/trunk/alba/lib/model/om/BaseActividad.php
===================================================================
--- prosistem/alba/trunk/alba/lib/model/om/BaseActividad.php 2007-07-30 14:58:43 UTC (rev 4876)
+++ prosistem/alba/trunk/alba/lib/model/om/BaseActividad.php 2007-07-30 15:43:27 UTC (rev 4877)
@@ -17,7 +17,7 @@
- protected $nombre = 'null';
+ protected $nombre;
@@ -130,7 +130,7 @@
$v = (string) $v;
}
- if ($this->nombre !== $v || $v === 'null') {
+ if ($this->nombre !== $v) {
$this->nombre = $v;
$this->modifiedColumns[] = ActividadPeer::NOMBRE;
}
Modified: prosistem/alba/trunk/alba/lib/model/om/BaseAlumno.php
===================================================================
--- prosistem/alba/trunk/alba/lib/model/om/BaseAlumno.php 2007-07-30 14:58:43 UTC (rev 4876)
+++ prosistem/alba/trunk/alba/lib/model/om/BaseAlumno.php 2007-07-30 15:43:27 UTC (rev 4877)
@@ -13,11 +13,11 @@
- protected $nombre = 'null';
+ protected $nombre;
- protected $apellido = 'null';
+ protected $apellido;
@@ -25,15 +25,15 @@
- protected $direccion = 'null';
+ protected $direccion;
- protected $ciudad = 'null';
+ protected $ciudad;
- protected $codigo_postal = 'null';
+ protected $codigo_postal;
@@ -41,11 +41,11 @@
- protected $telefono = 'null';
+ protected $telefono;
- protected $lugar_nacimiento = 'null';
+ protected $lugar_nacimiento;
@@ -53,7 +53,7 @@
- protected $nro_documento = 'null';
+ protected $nro_documento;
@@ -61,7 +61,7 @@
- protected $email = 'null';
+ protected $email;
@@ -369,7 +369,7 @@
$v = (string) $v;
}
- if ($this->nombre !== $v || $v === 'null') {
+ if ($this->nombre !== $v) {
$this->nombre = $v;
$this->modifiedColumns[] = AlumnoPeer::NOMBRE;
}
@@ -383,7 +383,7 @@
$v = (string) $v;
}
- if ($this->apellido !== $v || $v === 'null') {
+ if ($this->apellido !== $v) {
$this->apellido = $v;
$this->modifiedColumns[] = AlumnoPeer::APELLIDO;
}
@@ -414,7 +414,7 @@
$v = (string) $v;
}
- if ($this->direccion !== $v || $v === 'null') {
+ if ($this->direccion !== $v) {
$this->direccion = $v;
$this->modifiedColumns[] = AlumnoPeer::DIRECCION;
}
@@ -428,7 +428,7 @@
$v = (string) $v;
}
- if ($this->ciudad !== $v || $v === 'null') {
+ if ($this->ciudad !== $v) {
$this->ciudad = $v;
$this->modifiedColumns[] = AlumnoPeer::CIUDAD;
}
@@ -442,7 +442,7 @@
$v = (string) $v;
}
- if ($this->codigo_postal !== $v || $v === 'null') {
+ if ($this->codigo_postal !== $v) {
$this->codigo_postal = $v;
$this->modifiedColumns[] = AlumnoPeer::CODIGO_POSTAL;
}
@@ -474,7 +474,7 @@
$v = (string) $v;
}
- if ($this->telefono !== $v || $v === 'null') {
+ if ($this->telefono !== $v) {
$this->telefono = $v;
$this->modifiedColumns[] = AlumnoPeer::TELEFONO;
}
@@ -488,7 +488,7 @@
$v = (string) $v;
}
- if ($this->lugar_nacimiento !== $v || $v === 'null') {
+ if ($this->lugar_nacimiento !== $v) {
$this->lugar_nacimiento = $v;
$this->modifiedColumns[] = AlumnoPeer::LUGAR_NACIMIENTO;
}
@@ -520,7 +520,7 @@
$v = (string) $v;
}
- if ($this->nro_documento !== $v || $v === 'null') {
+ if ($this->nro_documento !== $v) {
$this->nro_documento = $v;
$this->modifiedColumns[] = AlumnoPeer::NRO_DOCUMENTO;
}
@@ -548,7 +548,7 @@
$v = (string) $v;
}
- if ($this->email !== $v || $v === 'null') {
+ if ($this->email !== $v) {
$this->email = $v;
$this->modifiedColumns[] = AlumnoPeer::EMAIL;
}
Modified: prosistem/alba/trunk/alba/lib/model/om/BaseAnio.php
===================================================================
--- prosistem/alba/trunk/alba/lib/model/om/BaseAnio.php 2007-07-30 14:58:43 UTC (rev 4876)
+++ prosistem/alba/trunk/alba/lib/model/om/BaseAnio.php 2007-07-30 15:43:27 UTC (rev 4877)
@@ -17,7 +17,7 @@
- protected $descripcion = 'null';
+ protected $descripcion;
protected $aEstablecimiento;
@@ -101,7 +101,7 @@
$v = (string) $v;
}
- if ($this->descripcion !== $v || $v === 'null') {
+ if ($this->descripcion !== $v) {
$this->descripcion = $v;
$this->modifiedColumns[] = AnioPeer::DESCRIPCION;
}
Modified: prosistem/alba/trunk/alba/lib/model/om/BaseCalendariovacunacion.php
===================================================================
--- prosistem/alba/trunk/alba/lib/model/om/BaseCalendariovacunacion.php 2007-07-30 14:58:43 UTC (rev 4876)
+++ prosistem/alba/trunk/alba/lib/model/om/BaseCalendariovacunacion.php 2007-07-30 15:43:27 UTC (rev 4877)
@@ -25,7 +25,7 @@
- protected $observacion = 'null';
+ protected $observacion;
protected $collRelCalendariovacunacionAlumnos;
@@ -138,7 +138,7 @@
$v = (string) $v;
}
- if ($this->observacion !== $v || $v === 'null') {
+ if ($this->observacion !== $v) {
$this->observacion = $v;
$this->modifiedColumns[] = CalendariovacunacionPeer::OBSERVACION;
}
Modified: prosistem/alba/trunk/alba/lib/model/om/BaseCargobaja.php
===================================================================
--- prosistem/alba/trunk/alba/lib/model/om/BaseCargobaja.php 2007-07-30 14:58:43 UTC (rev 4876)
+++ prosistem/alba/trunk/alba/lib/model/om/BaseCargobaja.php 2007-07-30 15:43:27 UTC (rev 4877)
@@ -17,7 +17,7 @@
- protected $descripcion = 'null';
+ protected $descripcion;
protected $alreadyInSave = false;
@@ -82,7 +82,7 @@
$v = (string) $v;
}
- if ($this->descripcion !== $v || $v === 'null') {
+ if ($this->descripcion !== $v) {
$this->descripcion = $v;
$this->modifiedColumns[] = CargobajaPeer::DESCRIPCION;
}
Modified: prosistem/alba/trunk/alba/lib/model/om/BaseCiclolectivo.php
===================================================================
--- prosistem/alba/trunk/alba/lib/model/om/BaseCiclolectivo.php 2007-07-30 14:58:43 UTC (rev 4876)
+++ prosistem/alba/trunk/alba/lib/model/om/BaseCiclolectivo.php 2007-07-30 15:43:27 UTC (rev 4877)
@@ -25,7 +25,7 @@
- protected $descripcion = 'null';
+ protected $descripcion;
@@ -204,7 +204,7 @@
$v = (string) $v;
}
- if ($this->descripcion !== $v || $v === 'null') {
+ if ($this->descripcion !== $v) {
$this->descripcion = $v;
$this->modifiedColumns[] = CiclolectivoPeer::DESCRIPCION;
}
Modified: prosistem/alba/trunk/alba/lib/model/om/BaseConceptobaja.php
===================================================================
--- prosistem/alba/trunk/alba/lib/model/om/BaseConceptobaja.php 2007-07-30 14:58:43 UTC (rev 4876)
+++ prosistem/alba/trunk/alba/lib/model/om/BaseConceptobaja.php 2007-07-30 15:43:27 UTC (rev 4877)
@@ -17,7 +17,7 @@
- protected $descripcion = 'null';
+ protected $descripcion;
protected $collAlumnos;
@@ -88,7 +88,7 @@
$v = (string) $v;
}
- if ($this->descripcion !== $v || $v === 'null') {
+ if ($this->descripcion !== $v) {
$this->descripcion = $v;
$this->modifiedColumns[] = ConceptobajaPeer::DESCRIPCION;
}
Modified: prosistem/alba/trunk/alba/lib/model/om/BaseCuenta.php
===================================================================
--- prosistem/alba/trunk/alba/lib/model/om/BaseCuenta.php 2007-07-30 14:58:43 UTC (rev 4876)
+++ prosistem/alba/trunk/alba/lib/model/om/BaseCuenta.php 2007-07-30 15:43:27 UTC (rev 4877)
@@ -13,31 +13,31 @@
- protected $nombre = 'null';
+ protected $nombre;
- protected $razon_social = 'null';
+ protected $razon_social;
- protected $cuit = 'null';
+ protected $cuit;
- protected $direccion = 'null';
+ protected $direccion;
- protected $ciudad = 'null';
+ protected $ciudad;
- protected $codigo_postal = 'null';
+ protected $codigo_postal;
- protected $telefono = 'null';
+ protected $telefono;
@@ -163,7 +163,7 @@
$v = (string) $v;
}
- if ($this->nombre !== $v || $v === 'null') {
+ if ($this->nombre !== $v) {
$this->nombre = $v;
$this->modifiedColumns[] = CuentaPeer::NOMBRE;
}
@@ -177,7 +177,7 @@
$v = (string) $v;
}
- if ($this->razon_social !== $v || $v === 'null') {
+ if ($this->razon_social !== $v) {
$this->razon_social = $v;
$this->modifiedColumns[] = CuentaPeer::RAZON_SOCIAL;
}
@@ -191,7 +191,7 @@
$v = (string) $v;
}
- if ($this->cuit !== $v || $v === 'null') {
+ if ($this->cuit !== $v) {
$this->cuit = $v;
$this->modifiedColumns[] = CuentaPeer::CUIT;
}
@@ -205,7 +205,7 @@
$v = (string) $v;
}
- if ($this->direccion !== $v || $v === 'null') {
+ if ($this->direccion !== $v) {
$this->direccion = $v;
$this->modifiedColumns[] = CuentaPeer::DIRECCION;
}
@@ -219,7 +219,7 @@
$v = (string) $v;
}
- if ($this->ciudad !== $v || $v === 'null') {
+ if ($this->ciudad !== $v) {
$this->ciudad = $v;
$this->modifiedColumns[] = CuentaPeer::CIUDAD;
}
@@ -233,7 +233,7 @@
$v = (string) $v;
}
- if ($this->codigo_postal !== $v || $v === 'null') {
+ if ($this->codigo_postal !== $v) {
$this->codigo_postal = $v;
$this->modifiedColumns[] = CuentaPeer::CODIGO_POSTAL;
}
@@ -247,7 +247,7 @@
$v = (string) $v;
}
- if ($this->telefono !== $v || $v === 'null') {
+ if ($this->telefono !== $v) {
$this->telefono = $v;
$this->modifiedColumns[] = CuentaPeer::TELEFONO;
}
Modified: prosistem/alba/trunk/alba/lib/model/om/BaseDistritoescolar.php
===================================================================
--- prosistem/alba/trunk/alba/lib/model/om/BaseDistritoescolar.php 2007-07-30 14:58:43 UTC (rev 4876)
+++ prosistem/alba/trunk/alba/lib/model/om/BaseDistritoescolar.php 2007-07-30 15:43:27 UTC (rev 4877)
@@ -13,7 +13,7 @@
- protected $nombre = 'null';
+ protected $nombre;
@@ -96,7 +96,7 @@
$v = (string) $v;
}
- if ($this->nombre !== $v || $v === 'null') {
+ if ($this->nombre !== $v) {
$this->nombre = $v;
$this->modifiedColumns[] = DistritoescolarPeer::NOMBRE;
}
Modified: prosistem/alba/trunk/alba/lib/model/om/BaseDivision.php
===================================================================
--- prosistem/alba/trunk/alba/lib/model/om/BaseDivision.php 2007-07-30 14:58:43 UTC (rev 4876)
+++ prosistem/alba/trunk/alba/lib/model/om/BaseDivision.php 2007-07-30 15:43:27 UTC (rev 4877)
@@ -17,7 +17,7 @@
- protected $descripcion = 'null';
+ protected $descripcion;
@@ -126,7 +126,7 @@
$v = (string) $v;
}
- if ($this->descripcion !== $v || $v === 'null') {
+ if ($this->descripcion !== $v) {
$this->descripcion = $v;
$this->modifiedColumns[] = DivisionPeer::DESCRIPCION;
}
Modified: prosistem/alba/trunk/alba/lib/model/om/BaseDocente.php
===================================================================
--- prosistem/alba/trunk/alba/lib/model/om/BaseDocente.php 2007-07-30 14:58:43 UTC (rev 4876)
+++ prosistem/alba/trunk/alba/lib/model/om/BaseDocente.php 2007-07-30 15:43:27 UTC (rev 4877)
@@ -13,11 +13,11 @@
- protected $apellido = 'null';
+ protected $apellido;
- protected $nombre = 'null';
+ protected $nombre;
@@ -33,35 +33,35 @@
- protected $nro_documento = 'null';
+ protected $nro_documento;
- protected $direccion = 'null';
+ protected $direccion;
- protected $ciudad = 'null';
+ protected $ciudad;
- protected $codigo_postal = 'null';
+ protected $codigo_postal;
- protected $email = 'null';
+ protected $email;
- protected $telefono = 'null';
+ protected $telefono;
- protected $telefono_movil = 'null';
+ protected $telefono_movil;
- protected $titulo = 'null';
+ protected $titulo;
@@ -278,7 +278,7 @@
$v = (string) $v;
}
- if ($this->apellido !== $v || $v === 'null') {
+ if ($this->apellido !== $v) {
$this->apellido = $v;
$this->modifiedColumns[] = DocentePeer::APELLIDO;
}
@@ -292,7 +292,7 @@
$v = (string) $v;
}
- if ($this->nombre !== $v || $v === 'null') {
+ if ($this->nombre !== $v) {
$this->nombre = $v;
$this->modifiedColumns[] = DocentePeer::NOMBRE;
}
@@ -355,7 +355,7 @@
$v = (string) $v;
}
- if ($this->nro_documento !== $v || $v === 'null') {
+ if ($this->nro_documento !== $v) {
$this->nro_documento = $v;
$this->modifiedColumns[] = DocentePeer::NRO_DOCUMENTO;
}
@@ -369,7 +369,7 @@
$v = (string) $v;
}
- if ($this->direccion !== $v || $v === 'null') {
+ if ($this->direccion !== $v) {
$this->direccion = $v;
$this->modifiedColumns[] = DocentePeer::DIRECCION;
}
@@ -383,7 +383,7 @@
$v = (string) $v;
}
- if ($this->ciudad !== $v || $v === 'null') {
+ if ($this->ciudad !== $v) {
$this->ciudad = $v;
$this->modifiedColumns[] = DocentePeer::CIUDAD;
}
@@ -397,7 +397,7 @@
$v = (string) $v;
}
- if ($this->codigo_postal !== $v || $v === 'null') {
+ if ($this->codigo_postal !== $v) {
$this->codigo_postal = $v;
$this->modifiedColumns[] = DocentePeer::CODIGO_POSTAL;
}
@@ -411,7 +411,7 @@
$v = (string) $v;
}
- if ($this->email !== $v || $v === 'null') {
+ if ($this->email !== $v) {
$this->email = $v;
$this->modifiedColumns[] = DocentePeer::EMAIL;
}
@@ -425,7 +425,7 @@
$v = (string) $v;
}
- if ($this->telefono !== $v || $v === 'null') {
+ if ($this->telefono !== $v) {
$this->telefono = $v;
$this->modifiedColumns[] = DocentePeer::TELEFONO;
}
@@ -439,7 +439,7 @@
$v = (string) $v;
}
- if ($this->telefono_movil !== $v || $v === 'null') {
+ if ($this->telefono_movil !== $v) {
$this->telefono_movil = $v;
$this->modifiedColumns[] = DocentePeer::TELEFONO_MOVIL;
}
@@ -453,7 +453,7 @@
$v = (string) $v;
}
- if ($this->titulo !== $v || $v === 'null') {
+ if ($this->titulo !== $v) {
$this->titulo = $v;
$this->modifiedColumns[] = DocentePeer::TITULO;
}
Modified: prosistem/alba/trunk/alba/lib/model/om/BaseEspacio.php
===================================================================
--- prosistem/alba/trunk/alba/lib/model/om/BaseEspacio.php 2007-07-30 14:58:43 UTC (rev 4876)
+++ prosistem/alba/trunk/alba/lib/model/om/BaseEspacio.php 2007-07-30 15:43:27 UTC (rev 4877)
@@ -13,7 +13,7 @@
- protected $nombre = 'null';
+ protected $nombre;
@@ -129,7 +129,7 @@
$v = (string) $v;
}
- if ($this->nombre !== $v || $v === 'null') {
+ if ($this->nombre !== $v) {
$this->nombre = $v;
$this->modifiedColumns[] = EspacioPeer::NOMBRE;
}
Modified: prosistem/alba/trunk/alba/lib/model/om/BaseEstablecimiento.php
===================================================================
--- prosistem/alba/trunk/alba/lib/model/om/BaseEstablecimiento.php 2007-07-30 14:58:43 UTC (rev 4876)
+++ prosistem/alba/trunk/alba/lib/model/om/BaseEstablecimiento.php 2007-07-30 15:43:27 UTC (rev 4877)
@@ -13,7 +13,7 @@
- protected $nombre = 'null';
+ protected $nombre;
@@ -170,7 +170,7 @@
$v = (string) $v;
}
- if ($this->nombre !== $v || $v === 'null') {
+ if ($this->nombre !== $v) {
$this->nombre = $v;
$this->modifiedColumns[] = EstablecimientoPeer::NOMBRE;
}
Modified: prosistem/alba/trunk/alba/lib/model/om/BaseEvento.php
===================================================================
--- prosistem/alba/trunk/alba/lib/model/om/BaseEvento.php 2007-07-30 14:58:43 UTC (rev 4876)
+++ prosistem/alba/trunk/alba/lib/model/om/BaseEvento.php 2007-07-30 15:43:27 UTC (rev 4877)
@@ -37,7 +37,7 @@
- protected $recurrencia_fin = 'null';
+ protected $recurrencia_fin;
@@ -283,7 +283,7 @@
$v = (string) $v;
}
- if ($this->recurrencia_fin !== $v || $v === 'null') {
+ if ($this->recurrencia_fin !== $v) {
$this->recurrencia_fin = $v;
$this->modifiedColumns[] = EventoPeer::RECURRENCIA_FIN;
}
Modified: prosistem/alba/trunk/alba/lib/model/om/BaseExamen.php
===================================================================
--- prosistem/alba/trunk/alba/lib/model/om/BaseExamen.php 2007-07-30 14:58:43 UTC (rev 4876)
+++ prosistem/alba/trunk/alba/lib/model/om/BaseExamen.php 2007-07-30 15:43:27 UTC (rev 4877)
@@ -29,7 +29,7 @@
- protected $nombre = 'null';
+ protected $nombre;
@@ -222,7 +222,7 @@
$v = (string) $v;
}
- if ($this->nombre !== $v || $v === 'null') {
+ if ($this->nombre !== $v) {
$this->nombre = $v;
$this->modifiedColumns[] = ExamenPeer::NOMBRE;
}
Modified: prosistem/alba/trunk/alba/lib/model/om/BaseHorarioescolartipo.php
===================================================================
--- prosistem/alba/trunk/alba/lib/model/om/BaseHorarioescolartipo.php 2007-07-30 14:58:43 UTC (rev 4876)
+++ prosistem/alba/trunk/alba/lib/model/om/BaseHorarioescolartipo.php 2007-07-30 15:43:27 UTC (rev 4877)
@@ -13,7 +13,7 @@
- protected $nombre = 'null';
+ protected $nombre;
@@ -74,7 +74,7 @@
$v = (string) $v;
}
- if ($this->nombre !== $v || $v === 'null') {
+ if ($this->nombre !== $v) {
$this->nombre = $v;
$this->modifiedColumns[] = HorarioescolartipoPeer::NOMBRE;
}
Modified: prosistem/alba/trunk/alba/lib/model/om/BaseLocacion.php
===================================================================
--- prosistem/alba/trunk/alba/lib/model/om/BaseLocacion.php 2007-07-30 14:58:43 UTC (rev 4876)
+++ prosistem/alba/trunk/alba/lib/model/om/BaseLocacion.php 2007-07-30 15:43:27 UTC (rev 4877)
@@ -13,7 +13,7 @@
- protected $nombre = 'null';
+ protected $nombre;
@@ -21,15 +21,15 @@
- protected $direccion = 'null';
+ protected $direccion;
- protected $ciudad = 'null';
+ protected $ciudad;
- protected $codigo_postal = 'null';
+ protected $codigo_postal;
@@ -196,7 +196,7 @@
$v = (string) $v;
}
- if ($this->nombre !== $v || $v === 'null') {
+ if ($this->nombre !== $v) {
$this->nombre = $v;
$this->modifiedColumns[] = LocacionPeer::NOMBRE;
}
@@ -224,7 +224,7 @@
$v = (string) $v;
}
- if ($this->direccion !== $v || $v === 'null') {
+ if ($this->direccion !== $v) {
$this->direccion = $v;
$this->modifiedColumns[] = LocacionPeer::DIRECCION;
}
@@ -238,7 +238,7 @@
$v = (string) $v;
}
- if ($this->ciudad !== $v || $v === 'null') {
+ if ($this->ciudad !== $v) {
$this->ciudad = $v;
$this->modifiedColumns[] = LocacionPeer::CIUDAD;
}
@@ -252,7 +252,7 @@
$v = (string) $v;
}
- if ($this->codigo_postal !== $v || $v === 'null') {
+ if ($this->codigo_postal !== $v) {
$this->codigo_postal = $v;
$this->modifiedColumns[] = LocacionPeer::CODIGO_POSTAL;
}
Modified: prosistem/alba/trunk/alba/lib/model/om/BaseModulo.php
===================================================================
--- prosistem/alba/trunk/alba/lib/model/om/BaseModulo.php 2007-07-30 14:58:43 UTC (rev 4876)
+++ prosistem/alba/trunk/alba/lib/model/om/BaseModulo.php 2007-07-30 15:43:27 UTC (rev 4877)
@@ -13,7 +13,7 @@
- protected $nombre = 'null';
+ protected $nombre;
@@ -96,7 +96,7 @@
$v = (string) $v;
}
- if ($this->nombre !== $v || $v === 'null') {
+ if ($this->nombre !== $v) {
$this->nombre = $v;
$this->modifiedColumns[] = ModuloPeer::NOMBRE;
}
Modified: prosistem/alba/trunk/alba/lib/model/om/BaseNiveltipo.php
===================================================================
--- prosistem/alba/trunk/alba/lib/model/om/BaseNiveltipo.php 2007-07-30 14:58:43 UTC (rev 4876)
+++ prosistem/alba/trunk/alba/lib/model/om/BaseNiveltipo.php 2007-07-30 15:43:27 UTC (rev 4877)
@@ -13,7 +13,7 @@
- protected $nombre = 'null';
+ protected $nombre;
@@ -74,7 +74,7 @@
$v = (string) $v;
}
- if ($this->nombre !== $v || $v === 'null') {
+ if ($this->nombre !== $v) {
$this->nombre = $v;
$this->modifiedColumns[] = NiveltipoPeer::NOMBRE;
}
Modified: prosistem/alba/trunk/alba/lib/model/om/BaseOrganizacion.php
===================================================================
--- prosistem/alba/trunk/alba/lib/model/om/BaseOrganizacion.php 2007-07-30 14:58:43 UTC (rev 4876)
+++ prosistem/alba/trunk/alba/lib/model/om/BaseOrganizacion.php 2007-07-30 15:43:27 UTC (rev 4877)
@@ -13,7 +13,7 @@
- protected $nombre = 'null';
+ protected $nombre;
@@ -21,27 +21,27 @@
- protected $razon_social = 'null';
+ protected $razon_social;
- protected $cuit = 'null';
+ protected $cuit;
- protected $direccion = 'null';
+ protected $direccion;
- protected $ciudad = 'null';
+ protected $ciudad;
- protected $codigo_postal = 'null';
+ protected $codigo_postal;
- protected $telefono = 'null';
+ protected $telefono;
@@ -168,7 +168,7 @@
$v = (string) $v;
}
- if ($this->nombre !== $v || $v === 'null') {
+ if ($this->nombre !== $v) {
$this->nombre = $v;
$this->modifiedColumns[] = OrganizacionPeer::NOMBRE;
}
@@ -196,7 +196,7 @@
$v = (string) $v;
}
- if ($this->razon_social !== $v || $v === 'null') {
+ if ($this->razon_social !== $v) {
$this->razon_social = $v;
$this->modifiedColumns[] = OrganizacionPeer::RAZON_SOCIAL;
}
@@ -210,7 +210,7 @@
$v = (string) $v;
}
- if ($this->cuit !== $v || $v === 'null') {
+ if ($this->cuit !== $v) {
$this->cuit = $v;
$this->modifiedColumns[] = OrganizacionPeer::CUIT;
}
@@ -224,7 +224,7 @@
$v = (string) $v;
}
- if ($this->direccion !== $v || $v === 'null') {
+ if ($this->direccion !== $v) {
$this->direccion = $v;
$this->modifiedColumns[] = OrganizacionPeer::DIRECCION;
}
@@ -238,7 +238,7 @@
$v = (string) $v;
}
- if ($this->ciudad !== $v || $v === 'null') {
+ if ($this->ciudad !== $v) {
$this->ciudad = $v;
$this->modifiedColumns[] = OrganizacionPeer::CIUDAD;
}
@@ -252,7 +252,7 @@
$v = (string) $v;
}
- if ($this->codigo_postal !== $v || $v === 'null') {
+ if ($this->codigo_postal !== $v) {
$this->codigo_postal = $v;
$this->modifiedColumns[] = OrganizacionPeer::CODIGO_POSTAL;
}
@@ -266,7 +266,7 @@
$v = (string) $v;
}
- if ($this->telefono !== $v || $v === 'null') {
+ if ($this->telefono !== $v) {
$this->telefono = $v;
$this->modifiedColumns[] = OrganizacionPeer::TELEFONO;
}
Modified: prosistem/alba/trunk/alba/lib/model/om/BasePais.php
===================================================================
--- prosistem/alba/trunk/alba/lib/model/om/BasePais.php 2007-07-30 14:58:43 UTC (rev 4876)
+++ prosistem/alba/trunk/alba/lib/model/om/BasePais.php 2007-07-30 15:43:27 UTC (rev 4877)
@@ -13,11 +13,11 @@
- protected $nombre_largo = 'null';
+ protected $nombre_largo;
- protected $nombre_corto = 'null';
+ protected $nombre_corto;
@@ -91,7 +91,7 @@
$v = (string) $v;
}
- if ($this->nombre_largo !== $v || $v === 'null') {
+ if ($this->nombre_largo !== $v) {
$this->nombre_largo = $v;
$this->modifiedColumns[] = PaisPeer::NOMBRE_LARGO;
}
@@ -105,7 +105,7 @@
$v = (string) $v;
}
- if ($this->nombre_corto !== $v || $v === 'null') {
+ if ($this->nombre_corto !== $v) {
$this->nombre_corto = $v;
$this->modifiedColumns[] = PaisPeer::NOMBRE_CORTO;
}
Modified: prosistem/alba/trunk/alba/lib/model/om/BasePeriodo.php
===================================================================
--- prosistem/alba/trunk/alba/lib/model/om/BasePeriodo.php 2007-07-30 14:58:43 UTC (rev 4876)
+++ prosistem/alba/trunk/alba/lib/model/om/BasePeriodo.php 2007-07-30 15:43:27 UTC (rev 4877)
@@ -25,7 +25,7 @@
- protected $descripcion = 'null';
+ protected $descripcion;
protected $aCiclolectivo;
@@ -193,7 +193,7 @@
$v = (string) $v;
}
- if ($this->descripcion !== $v || $v === 'null') {
+ if ($this->descripcion !== $v) {
$this->descripcion = $v;
$this->modifiedColumns[] = PeriodoPeer::DESCRIPCION;
}
Modified: prosistem/alba/trunk/alba/lib/model/om/BasePermiso.php
===================================================================
--- prosistem/alba/trunk/alba/lib/model/om/BasePermiso.php 2007-07-30 14:58:43 UTC (rev 4876)
+++ prosistem/alba/trunk/alba/lib/model/om/BasePermiso.php 2007-07-30 15:43:27 UTC (rev 4877)
@@ -13,7 +13,7 @@
- protected $nombre = 'null';
+ protected $nombre;
@@ -105,7 +105,7 @@
$v = (string) $v;
}
- if ($this->nombre !== $v || $v === 'null') {
+ if ($this->nombre !== $v) {
$this->nombre = $v;
$this->modifiedColumns[] = PermisoPeer::NOMBRE;
}
Modified: prosistem/alba/trunk/alba/lib/model/om/BasePreferencia.php
===================================================================
--- prosistem/alba/trunk/alba/lib/model/om/BasePreferencia.php 2007-07-30 14:58:43 UTC (rev 4876)
+++ prosistem/alba/trunk/alba/lib/model/om/BasePreferencia.php 2007-07-30 15:43:27 UTC (rev 4877)
@@ -13,7 +13,7 @@
- protected $nombre = 'null';
+ protected $nombre;
@@ -79,7 +79,7 @@
$v = (string) $v;
}
- if ($this->nombre !== $v || $v === 'null') {
+ if ($this->nombre !== $v) {
$this->nombre = $v;
$this->modifiedColumns[] = PreferenciaPeer::NOMBRE;
}
Modified: prosistem/alba/trunk/alba/lib/model/om/BaseProvincia.php
===================================================================
--- prosistem/alba/trunk/alba/lib/model/om/BaseProvincia.php 2007-07-30 14:58:43 UTC (rev 4876)
+++ prosistem/alba/trunk/alba/lib/model/om/BaseProvincia.php 2007-07-30 15:43:27 UTC (rev 4877)
@@ -13,11 +13,11 @@
- protected $nombre_corto = 'null';
+ protected $nombre_corto;
- protected $nombre_largo = 'null';
+ protected $nombre_largo;
@@ -129,7 +129,7 @@
$v = (string) $v;
}
- if ($this->nombre_corto !== $v || $v === 'null') {
+ if ($this->nombre_corto !== $v) {
$this->nombre_corto = $v;
$this->modifiedColumns[] = ProvinciaPeer::NOMBRE_CORTO;
}
@@ -143,7 +143,7 @@
$v = (string) $v;
}
- if ($this->nombre_largo !== $v || $v === 'null') {
+ if ($this->nombre_largo !== $v) {
$this->nombre_largo = $v;
$this->modifiedColumns[] = ProvinciaPeer::NOMBRE_LARGO;
}
Modified: prosistem/alba/trunk/alba/lib/model/om/BaseRelRolresponsableResponsable.php
===================================================================
--- prosistem/alba/trunk/alba/lib/model/om/BaseRelRolresponsableResponsable.php 2007-07-30 14:58:43 UTC (rev 4876)
+++ prosistem/alba/trunk/alba/lib/model/om/BaseRelRolresponsableResponsable.php 2007-07-30 15:43:27 UTC (rev 4877)
@@ -25,7 +25,7 @@
- protected $descripcion = 'null';
+ protected $descripcion;
protected $aRolResponsable;
@@ -153,7 +153,7 @@
$v = (string) $v;
}
- if ($this->descripcion !== $v || $v === 'null') {
+ if ($this->descripcion !== $v) {
$this->descripcion = $v;
$this->modifiedColumns[] = RelRolresponsableResponsablePeer::DESCRIPCION;
}
Modified: prosistem/alba/trunk/alba/lib/model/om/BaseRepeticion.php
===================================================================
--- prosistem/alba/trunk/alba/lib/model/om/BaseRepeticion.php 2007-07-30 14:58:43 UTC (rev 4876)
+++ prosistem/alba/trunk/alba/lib/model/om/BaseRepeticion.php 2007-07-30 15:43:27 UTC (rev 4877)
@@ -13,7 +13,7 @@
- protected $descripcion = 'null';
+ protected $descripcion;
@@ -68,7 +68,7 @@
$v = (string) $v;
}
- if ($this->descripcion !== $v || $v === 'null') {
+ if ($this->descripcion !== $v) {
$this->descripcion = $v;
$this->modifiedColumns[] = RepeticionPeer::DESCRIPCION;
}
Modified: prosistem/alba/trunk/alba/lib/model/om/BaseResponsable.php
===================================================================
--- prosistem/alba/trunk/alba/lib/model/om/BaseResponsable.php 2007-07-30 14:58:43 UTC (rev 4876)
+++ prosistem/alba/trunk/alba/lib/model/om/BaseResponsable.php 2007-07-30 15:43:27 UTC (rev 4877)
@@ -13,23 +13,23 @@
- protected $nombre = 'null';
+ protected $nombre;
- protected $apellido = 'null';
+ protected $apellido;
- protected $direccion = 'null';
+ protected $direccion;
- protected $ciudad = 'null';
+ protected $ciudad;
- protected $codigo_postal = 'null';
+ protected $codigo_postal;
@@ -37,15 +37,15 @@
- protected $telefono = 'null';
+ protected $telefono;
- protected $telefono_movil = 'null';
+ protected $telefono_movil;
- protected $nro_documento = 'null';
+ protected $nro_documento;
@@ -57,11 +57,11 @@
- protected $email = 'null';
+ protected $email;
- protected $observacion = 'null';
+ protected $observacion;
@@ -240,7 +240,7 @@
$v = (string) $v;
}
- if ($this->nombre !== $v || $v === 'null') {
+ if ($this->nombre !== $v) {
$this->nombre = $v;
$this->modifiedColumns[] = ResponsablePeer::NOMBRE;
}
@@ -254,7 +254,7 @@
$v = (string) $v;
}
- if ($this->apellido !== $v || $v === 'null') {
+ if ($this->apellido !== $v) {
$this->apellido = $v;
$this->modifiedColumns[] = ResponsablePeer::APELLIDO;
}
@@ -268,7 +268,7 @@
$v = (string) $v;
}
- if ($this->direccion !== $v || $v === 'null') {
+ if ($this->direccion !== $v) {
$this->direccion = $v;
$this->modifiedColumns[] = ResponsablePeer::DIRECCION;
}
@@ -282,7 +282,7 @@
$v = (string) $v;
}
- if ($this->ciudad !== $v || $v === 'null') {
+ if ($this->ciudad !== $v) {
$this->ciudad = $v;
$this->modifiedColumns[] = ResponsablePeer::CIUDAD;
}
@@ -296,7 +296,7 @@
$v = (string) $v;
}
- if ($this->codigo_postal !== $v || $v === 'null') {
+ if ($this->codigo_postal !== $v) {
$this->codigo_postal = $v;
$this->modifiedColumns[] = ResponsablePeer::CODIGO_POSTAL;
}
@@ -328,7 +328,7 @@
$v = (string) $v;
}
- if ($this->telefono !== $v || $v === 'null') {
+ if ($this->telefono !== $v) {
$this->telefono = $v;
$this->modifiedColumns[] = ResponsablePeer::TELEFONO;
}
@@ -342,7 +342,7 @@
$v = (string) $v;
}
- if ($this->telefono_movil !== $v || $v === 'null') {
+ if ($this->telefono_movil !== $v) {
$this->telefono_movil = $v;
$this->modifiedColumns[] = ResponsablePeer::TELEFONO_MOVIL;
}
@@ -356,7 +356,7 @@
$v = (string) $v;
}
- if ($this->nro_documento !== $v || $v === 'null') {
+ if ($this->nro_documento !== $v) {
$this->nro_documento = $v;
$this->modifiedColumns[] = ResponsablePeer::NRO_DOCUMENTO;
}
@@ -402,7 +402,7 @@
$v = (string) $v;
}
- if ($this->email !== $v || $v === 'null') {
+ if ($this->email !== $v) {
$this->email = $v;
$this->modifiedColumns[] = ResponsablePeer::EMAIL;
}
@@ -416,7 +416,7 @@
$v = (string) $v;
}
- if ($this->observacion !== $v || $v === 'null') {
+ if ($this->observacion !== $v) {
$this->observacion = $v;
$this->modifiedColumns[] = ResponsablePeer::OBSERVACION;
}
Modified: prosistem/alba/trunk/alba/lib/model/om/BaseRol.php
===================================================================
--- prosistem/alba/trunk/alba/lib/model/om/BaseRol.php 2007-07-30 14:58:43 UTC (rev 4876)
+++ prosistem/alba/trunk/alba/lib/model/om/BaseRol.php 2007-07-30 15:43:27 UTC (rev 4877)
@@ -13,11 +13,11 @@
- protected $nombre = 'null';
+ protected $nombre;
- protected $descripcion = 'null';
+ protected $descripcion;
@@ -85,7 +85,7 @@
$v = (string) $v;
}
- if ($this->nombre !== $v || $v === 'null') {
+ if ($this->nombre !== $v) {
$this->nombre = $v;
$this->modifiedColumns[] = RolPeer::NOMBRE;
}
@@ -99,7 +99,7 @@
$v = (string) $v;
}
- if ($this->descripcion !== $v || $v === 'null') {
+ if ($this->descripcion !== $v) {
$this->descripcion = $v;
$this->modifiedColumns[] = RolPeer::DESCRIPCION;
}
Modified: prosistem/alba/trunk/alba/lib/model/om/BaseRolResponsable.php
===================================================================
--- prosistem/alba/trunk/alba/lib/model/om/BaseRolResponsable.php 2007-07-30 14:58:43 UTC (rev 4876)
+++ prosistem/alba/trunk/alba/lib/model/om/BaseRolResponsable.php 2007-07-30 15:43:27 UTC (rev 4877)
@@ -13,11 +13,11 @@
- protected $nombre = 'null';
+ protected $nombre;
- protected $descripcion = 'null';
+ protected $descripcion;
@@ -91,7 +91,7 @@
$v = (string) $v;
}
- if ($this->nombre !== $v || $v === 'null') {
+ if ($this->nombre !== $v) {
$this->nombre = $v;
$this->modifiedColumns[] = RolResponsablePeer::NOMBRE;
}
@@ -105,7 +105,7 @@
$v = (string) $v;
}
- if ($this->descripcion !== $v || $v === 'null') {
+ if ($this->descripcion !== $v) {
$this->descripcion = $v;
$this->modifiedColumns[] = RolResponsablePeer::DESCRIPCION;
}
Modified: prosistem/alba/trunk/alba/lib/model/om/BaseTipoasistencia.php
===================================================================
--- prosistem/alba/trunk/alba/lib/model/om/BaseTipoasistencia.php 2007-07-30 14:58:43 UTC (rev 4876)
+++ prosistem/alba/trunk/alba/lib/model/om/BaseTipoasistencia.php 2007-07-30 15:43:27 UTC (rev 4877)
@@ -17,7 +17,7 @@
- protected $descripcion = 'null';
+ protected $descripcion;
@@ -25,7 +25,7 @@
- protected $grupo = 'null';
+ protected $grupo;
@@ -121,7 +121,7 @@
$v = (string) $v;
}
- if ($this->descripcion !== $v || $v === 'null') {
+ if ($this->descripcion !== $v) {
$this->descripcion = $v;
$this->modifiedColumns[] = TipoasistenciaPeer::DESCRIPCION;
}
@@ -145,7 +145,7 @@
$v = (string) $v;
}
- if ($this->grupo !== $v || $v === 'null') {
+ if ($this->grupo !== $v) {
$this->grupo = $v;
$this->modifiedColumns[] = TipoasistenciaPeer::GRUPO;
}
Modified: prosistem/alba/trunk/alba/lib/model/om/BaseTipodocente.php
===================================================================
--- prosistem/alba/trunk/alba/lib/model/om/BaseTipodocente.php 2007-07-30 14:58:43 UTC (rev 4876)
+++ prosistem/alba/trunk/alba/lib/model/om/BaseTipodocente.php 2007-07-30 15:43:27 UTC (rev 4877)
@@ -17,7 +17,7 @@
- protected $descripcion = 'null';
+ protected $descripcion;
protected $alreadyInSave = false;
@@ -82,7 +82,7 @@
$v = (string) $v;
}
- if ($this->descripcion !== $v || $v === 'null') {
+ if ($this->descripcion !== $v) {
$this->descripcion = $v;
$this->modifiedColumns[] = TipodocentePeer::DESCRIPCION;
}
Modified: prosistem/alba/trunk/alba/lib/model/om/BaseTipodocumento.php
===================================================================
--- prosistem/alba/trunk/alba/lib/model/om/BaseTipodocumento.php 2007-07-30 14:58:43 UTC (rev 4876)
+++ prosistem/alba/trunk/alba/lib/model/om/BaseTipodocumento.php 2007-07-30 15:43:27 UTC (rev 4877)
@@ -13,11 +13,11 @@
- protected $nombre = 'null';
+ protected $nombre;
- protected $descripcion = 'null';
+ protected $descripcion;
@@ -97,7 +97,7 @@
$v = (string) $v;
}
- if ($this->nombre !== $v || $v === 'null') {
+ if ($this->nombre !== $v) {
$this->nombre = $v;
$this->modifiedColumns[] = TipodocumentoPeer::NOMBRE;
}
@@ -111,7 +111,7 @@
$v = (string) $v;
}
- if ($this->descripcion !== $v || $v === 'null') {
+ if ($this->descripcion !== $v) {
$this->descripcion = $v;
$this->modifiedColumns[] = TipodocumentoPeer::DESCRIPCION;
}
Modified: prosistem/alba/trunk/alba/lib/model/om/BaseTipoespacio.php
===================================================================
--- prosistem/alba/trunk/alba/lib/model/om/BaseTipoespacio.php 2007-07-30 14:58:43 UTC (rev 4876)
+++ prosistem/alba/trunk/alba/lib/model/om/BaseTipoespacio.php 2007-07-30 15:43:27 UTC (rev 4877)
@@ -13,11 +13,11 @@
- protected $nombre = 'null';
+ protected $nombre;
- protected $descripcion = 'null';
+ protected $descripcion;
protected $collEspacios;
@@ -74,7 +74,7 @@
$v = (string) $v;
}
- if ($this->nombre !== $v || $v === 'null') {
+ if ($this->nombre !== $v) {
$this->nombre = $v;
$this->modifiedColumns[] = TipoespacioPeer::NOMBRE;
}
@@ -88,7 +88,7 @@
$v = (string) $v;
}
- if ($this->descripcion !== $v || $v === 'null') {
+ if ($this->descripcion !== $v) {
$this->descripcion = $v;
$this->modifiedColumns[] = TipoespacioPeer::DESCRIPCION;
}
Modified: prosistem/alba/trunk/alba/lib/model/om/BaseTipoiva.php
===================================================================
--- prosistem/alba/trunk/alba/lib/model/om/BaseTipoiva.php 2007-07-30 14:58:43 UTC (rev 4876)
+++ prosistem/alba/trunk/alba/lib/model/om/BaseTipoiva.php 2007-07-30 15:43:27 UTC (rev 4877)
@@ -13,11 +13,11 @@
- protected $nombre = 'null';
+ protected $nombre;
- protected $descripcion = 'null';
+ protected $descripcion;
@@ -91,7 +91,7 @@
$v = (string) $v;
}
- if ($this->nombre !== $v || $v === 'null') {
+ if ($this->nombre !== $v) {
$this->nombre = $v;
$this->modifiedColumns[] = TipoivaPeer::NOMBRE;
}
@@ -105,7 +105,7 @@
$v = (string) $v;
}
- if ($this->descripcion !== $v || $v === 'null') {
+ if ($this->descripcion !== $v) {
$this->descripcion = $v;
$this->modifiedColumns[] = TipoivaPeer::DESCRIPCION;
}
Modified: prosistem/alba/trunk/alba/lib/model/om/BaseTipolocacion.php
===================================================================
--- prosistem/alba/trunk/alba/lib/model/om/BaseTipolocacion.php 2007-07-30 14:58:43 UTC (rev 4876)
+++ prosistem/alba/trunk/alba/lib/model/om/BaseTipolocacion.php 2007-07-30 15:43:27 UTC (rev 4877)
@@ -13,11 +13,11 @@
- protected $nombre = 'null';
+ protected $nombre;
- protected $descripcion = 'null';
+ protected $descripcion;
protected $collLocacions;
@@ -74,7 +74,7 @@
$v = (string) $v;
}
- if ($this->nombre !== $v || $v === 'null') {
+ if ($this->nombre !== $v) {
$this->nombre = $v;
$this->modifiedColumns[] = TipolocacionPeer::NOMBRE;
}
@@ -88,7 +88,7 @@
$v = (string) $v;
}
- if ($this->descripcion !== $v || $v === 'null') {
+ if ($this->descripcion !== $v) {
$this->descripcion = $v;
$this->modifiedColumns[] = TipolocacionPeer::DESCRIPCION;
}
Modified: prosistem/alba/trunk/alba/lib/model/om/BaseTurnos.php
===================================================================
--- prosistem/alba/trunk/alba/lib/model/om/BaseTurnos.php 2007-07-30 14:58:43 UTC (rev 4876)
+++ prosistem/alba/trunk/alba/lib/model/om/BaseTurnos.php 2007-07-30 15:43:27 UTC (rev 4877)
@@ -25,7 +25,7 @@
- protected $descripcion = 'null';
+ protected $descripcion;
protected $aCiclolectivo;
@@ -187,7 +187,7 @@
$v = (string) $v;
}
- if ($this->descripcion !== $v || $v === 'null') {
+ if ($this->descripcion !== $v) {
$this->descripcion = $v;
$this->modifiedColumns[] = TurnosPeer::DESCRIPCION;
}
Modified: prosistem/alba/trunk/alba/lib/model/om/BaseUsuario.php
===================================================================
--- prosistem/alba/trunk/alba/lib/model/om/BaseUsuario.php 2007-07-30 14:58:43 UTC (rev 4876)
+++ prosistem/alba/trunk/alba/lib/model/om/BaseUsuario.php 2007-07-30 15:43:27 UTC (rev 4877)
@@ -13,11 +13,11 @@
- protected $usuario = 'null';
+ protected $usuario;
- protected $clave = 'null';
+ protected $clave;
@@ -212,7 +212,7 @@
$v = (string) $v;
}
- if ($this->usuario !== $v || $v === 'null') {
+ if ($this->usuario !== $v) {
$this->usuario = $v;
$this->modifiedColumns[] = UsuarioPeer::USUARIO;
}
@@ -226,7 +226,7 @@
$v = (string) $v;
}
- if ($this->clave !== $v || $v === 'null') {
+ if ($this->clave !== $v) {
$this->clave = $v;
$this->modifiedColumns[] = UsuarioPeer::CLAVE;
}
1
0
SVN Alba r4876 - in prosistem/alba/trunk/alba: config data lib web
by commits@pressenter.com.ar 30 Jul '07
by commits@pressenter.com.ar 30 Jul '07
30 Jul '07
Author: ftoledo
Date: 2007-07-30 11:58:43 -0300 (Mon, 30 Jul 2007)
New Revision: 4876
Removed:
prosistem/alba/trunk/alba/data/symfony
prosistem/alba/trunk/alba/lib/symfony
Modified:
prosistem/alba/trunk/alba/config/config.php
prosistem/alba/trunk/alba/web/sf
Log:
sacando links simbolicos para separa el proyecto del framework
goodbye sandbox =)
Modified: prosistem/alba/trunk/alba/config/config.php
===================================================================
--- prosistem/alba/trunk/alba/config/config.php 2007-07-25 20:57:03 UTC (rev 4875)
+++ prosistem/alba/trunk/alba/config/config.php 2007-07-30 14:58:43 UTC (rev 4876)
@@ -1,5 +1,5 @@
<?php
// symfony directories
-$sf_symfony_lib_dir = dirname(__FILE__).'/../lib/symfony';
-$sf_symfony_data_dir = dirname(__FILE__).'/../data/symfony';
+$sf_symfony_lib_dir = realpath(dirname(__FILE__).'/../../dist/symfony/lib');
+$sf_symfony_data_dir = realpath(dirname(__FILE__).'/../../dist/symfony/data');
Deleted: prosistem/alba/trunk/alba/data/symfony
===================================================================
--- prosistem/alba/trunk/alba/data/symfony 2007-07-25 20:57:03 UTC (rev 4875)
+++ prosistem/alba/trunk/alba/data/symfony 2007-07-30 14:58:43 UTC (rev 4876)
@@ -1 +0,0 @@
-link ../../dist/symfony/data/
\ No newline at end of file
Deleted: prosistem/alba/trunk/alba/lib/symfony
===================================================================
--- prosistem/alba/trunk/alba/lib/symfony 2007-07-25 20:57:03 UTC (rev 4875)
+++ prosistem/alba/trunk/alba/lib/symfony 2007-07-30 14:58:43 UTC (rev 4876)
@@ -1 +0,0 @@
-link ../../dist/symfony/lib
\ No newline at end of file
Modified: prosistem/alba/trunk/alba/web/sf
===================================================================
--- prosistem/alba/trunk/alba/web/sf 2007-07-25 20:57:03 UTC (rev 4875)
+++ prosistem/alba/trunk/alba/web/sf 2007-07-30 14:58:43 UTC (rev 4876)
@@ -1 +1 @@
-link ../data/symfony/web/sf/
\ No newline at end of file
+link /home/ftoledo/alba/dist/symfony/data/web/sf
\ No newline at end of file
1
0
Siguiendo mi cruzada con el cambio del instalador =) y viendo lo que charlamos
hoy, algunas cosas que estoy viendo:
1)Crear un modulo con la lógica de la instalación ya que voy a tener el
framework andando y puedo usar su potencial
2)Dedicarme a pensar en algo mas global como hacer un plugin genérico para
usarlo desde varios proyectos de symfony.
3)Crear un directorio install en el raiz web y meter algo de código plano de
php. (Menos dependencias)
mi opinión:
La opción [3] la descartaría porque para eso hago [1] que tengo mas
funcionalidad.
La opción [2], si bien es la ideal, prefiero hacer algo mas a corto plazo,
para tener el installer andando para la versión ¿1.0?
Por eso me estoy quedando con la opción [1] , que de hecho, es un paso
anterior a convertirlo en plugin (2).
Sugerencias, ideas, comentarios?
--
Dock Sud BBS
http://www.docksud.com.ar
telnet://bbs.docksud.com.ar
2
1
SVN Alba r4875 - prosistem/alba/trunk/alba/apps/principal/modules/feriado/actions
by commits@pressenter.com.ar 25 Jul '07
by commits@pressenter.com.ar 25 Jul '07
25 Jul '07
Author: josx
Date: 2007-07-25 17:57:03 -0300 (Wed, 25 Jul 2007)
New Revision: 4875
Modified:
prosistem/alba/trunk/alba/apps/principal/modules/feriado/actions/actions.class.php
Log:
Se agrego las etiquetas para mostrar los nombres de los campos del modulo feriado
Modified: prosistem/alba/trunk/alba/apps/principal/modules/feriado/actions/actions.class.php
===================================================================
--- prosistem/alba/trunk/alba/apps/principal/modules/feriado/actions/actions.class.php 2007-07-25 18:40:59 UTC (rev 4874)
+++ prosistem/alba/trunk/alba/apps/principal/modules/feriado/actions/actions.class.php 2007-07-25 20:57:03 UTC (rev 4875)
@@ -85,8 +85,9 @@
else
{
// add javascripts
- $this->getResponse()->addJavascript(sfConfig::get('sf_prototype_web_dir').'/js/prototype');
+ $this->getResponse()->addJavascript(sfConfig::get('sf_prototype_web_dir').'/js/prototype');
$this->getResponse()->addJavascript(sfConfig::get('sf_admin_web_dir').'/js/collapse');
+ $this->labels = $this->getLabels();
}
}
@@ -100,7 +101,7 @@
$feriado->save();
}
-
+
}
?>
\ No newline at end of file
1
0
SVN Alba r4874 - in prosistem/alba/trunk/alba/apps/principal/modules/calendario: actions templates
by commits@pressenter.com.ar 25 Jul '07
by commits@pressenter.com.ar 25 Jul '07
25 Jul '07
Author: josx
Date: 2007-07-25 15:40:59 -0300 (Wed, 25 Jul 2007)
New Revision: 4874
Modified:
prosistem/alba/trunk/alba/apps/principal/modules/calendario/actions/actions.class.php
prosistem/alba/trunk/alba/apps/principal/modules/calendario/templates/horarioSegunDivisionSuccess.php
prosistem/alba/trunk/alba/apps/principal/modules/calendario/templates/horarioSegunDocenteSuccess.php
Log:
Se integro en calendario nuevo con el modulo que mostraba el calendario por division o por docente
Modified: prosistem/alba/trunk/alba/apps/principal/modules/calendario/actions/actions.class.php
===================================================================
--- prosistem/alba/trunk/alba/apps/principal/modules/calendario/actions/actions.class.php 2007-07-25 17:51:16 UTC (rev 4873)
+++ prosistem/alba/trunk/alba/apps/principal/modules/calendario/actions/actions.class.php 2007-07-25 18:40:59 UTC (rev 4874)
@@ -34,422 +34,17 @@
{
public function preExecute() {
- $this->vista = $this->getRequestParameter('vista');
}
-
- private function getHorasMaterias($anio_id, $actividad_id = 0) {
- // traigo todos las materias/actividades para un año determinado
- $criteria = new Criteria();
- $criteria->add(RelAnioActividadPeer::FK_ANIO_ID, $anio_id);
- if($actividad_id) {
- $criteria->add(ActividadPeer::ID, $actividad_id);
- }
- $criteria->addJoin(RelAnioActividadPeer::FK_ACTIVIDAD_ID, ActividadPeer::ID);
- $criteria->addJoin(RelAnioActividadPeer::FK_ACTIVIDAD_ID, RelActividadDocentePeer::FK_ACTIVIDAD_ID, Criteria::LEFT_JOIN);
- $criteria->addJoin(RelActividadDocentePeer::FK_DOCENTE_ID, DocentePeer::ID, Criteria::LEFT_JOIN);
- $criteria->addJoin(RelActividadDocentePeer::FK_DOCENTE_ID, DocenteHorarioPeer::FK_DOCENTE_ID, Criteria::LEFT_JOIN);
- $criteria->addAsColumn("actividad_id", ActividadPeer::ID);
- $criteria->addAsColumn("docente_id", DocentePeer::ID);
- $criteria->addAsColumn("docente_apellido", DocentePeer::APELLIDO);
- $criteria->addAsColumn("docente_nombre", DocentePeer::NOMBRE);
- $criteria->addAsColumn("actividad_nombre", ActividadPeer::NOMBRE);
- $criteria->addAsColumn("horas", RelAnioActividadPeer::HORAS);
- $criteria->addAsColumn("dia", DocenteHorarioPeer::DIA);
- $criteria->addAsColumn("hora_inicio", DocenteHorarioPeer::HORA_INICIO);
- $criteria->addAsColumn("hora_fin", DocenteHorarioPeer::HORA_FIN);
-
-// $actividades = RelAnioActividadPeer::doSelectRS($criteria);
- $actividades = BasePeer::doSelect($criteria);
-
- $horarios_disponibles = array();
- $optionsHorasMaterias = array();
-
- foreach($actividades as $actividad) {
- if(!$actividad[1]) $actividad[1] = 0;
- $idx = $actividad[0]."_".$actividad[1];
- $docente = $actividad[3]." ".$actividad[2];
-
- $actividad_horario_disponible = $this->horariosATexto($actividad[6], $actividad[7], $actividad[8]);
- if(array_key_exists($idx, $horarios_disponibles)) {
- $horarios_disponibles[$idx] .= $actividad_horario_disponible;
- } else {
- $horarios_disponibles[$idx] = $actividad_horario_disponible;
- }
-
- $optionsHorasMaterias[$idx] = (object) array (
- 'cantidad' => $actividad[5] ,
- 'nombre' => $actividad[4]." x ".$docente,
- 'docente' => $docente,
- 'horarios_disponibles' => $horarios_disponibles[$idx]
- );
- }
- return $optionsHorasMaterias;
- }
-
-
- private function horariosATexto($dia, $hora_inicio, $hora_fin) {
- Misc::use_helper('Misc');
- $aSemana = diasDeLaSemana(1);
- $res = "";
- if($dia AND $hora_inicio AND $hora_fin) {
- $txt_dia = $aSemana[$dia];
- $res = $txt_dia." de ".$hora_inicio." a ".$hora_fin."\n";
- }
- return $res;
- }
-
-
- public function executeAdd() {
- list($name, $horasMaterias_id, $docente_id) = $this->getIdFromRequest();
- $horarios = $this->getUser()->getAttribute('horarios_'.$name);
- $anio_id = $this->getUser()->getAttribute('anio_id');
- $division_id = $this->getUser()->getAttribute('division_id');
- $this->horasMaterias = $this->getHorasMaterias($anio_id);
-
- if(!isset($horarios[$horasMaterias_id."_".$docente_id])) {
- if(count($horarios) <= 0) { // to let just one activity for each hour
- $horarios[$horasMaterias_id."_".$docente_id] = 1;
- $aEvent = $this->getUser()->getAttribute('event');
- $this->agregarItemCalendario($horasMaterias_id, $docente_id, $division_id, $aEvent[$name]);
- //$this->horasMaterias[$horasMaterias_id]->cantidad--;
- }
- } else {
- //commented out to let just one
- //++$horarios[$horasMaterias_id];
- }
- $this->getUser()->setAttribute('horarios_'.$name, $horarios);
- $this->vista = "noMuestraMenu";
- $this->name = $name;
- }
-
-
- public function executeRemove() {
- list($name, $horasMaterias_id, $docente_id) = $this->getIdFromRequest();
- $horarios = $this->getUser()->getAttribute('horarios_'.$name);
- $division_id = $this->getUser()->getAttribute('division_id');
- if (isset($horarios[$horasMaterias_id."_".$docente_id]) && $horarios[$horasMaterias_id."_".$docente_id] > 1) {
- --$horarios[$horasMaterias_id."_".$docente_id];
- } else {
- unset($horarios[$horasMaterias_id."_".$docente_id]);
- $aEvent = $this->getUser()->getAttribute('event');
- $this->borrarItemCalendario($horasMaterias_id, $docente_id, $division_id, $aEvent[$name]);
- }
- $this->getUser()->setAttribute('horarios_'.$name, $horarios);
- $division_id = $this->getUser()->getAttribute('division_id');
- $anio_id = $this->getUser()->getAttribute('anio_id');
- $this->horasMaterias = $this->getHorasMaterias($anio_id);
- $this->vista = "noMuestraMenu";
- $this->name = $name;
- }
-
- private function getIdFromRequest() {
- $name = $this->getRequestParameter('name');
- $id = $this->getRequestParameter('id', '');
-
- if (!$id) {
- return 0;
- }
-
- $tmp = split('_', $id);
- $horasMaterias_id = $tmp[1];
- $docente_id = $tmp[2];
-
- return array($name, $horasMaterias_id, $docente_id);
- }
-
-
-
/**
* Executes index action
*
*/
public function executeIndex() {
- $this->horasMaterias = array();
- $this->getUser()->setAttribute('horarios', array());
- $this->getUser()->setAttribute('anio_id', 0);
- $this->getUser()->setAttribute('division_id', 0);
- $this->getUser()->setAttribute('event', array());
-
- $turnos_id = "";
- $actividad_id = "";
- $optionsActividad = array();
- $horasMateriasTodas = array();
- $aAnio = array();
- $anio_id = "";
-
-/*
- $criteria = new Criteria();
- //$criteria->add(EstablecimientoPeer::IS_LIVE, 1);
- $establecimientos = EstablecimientoPeer::doSelect($criteria);
- $optionsEstablecimiento = array();
- foreach ($establecimientos as $establecimiento) {
- $optionsEstablecimiento[$establecimiento->getId()] = $establecimiento->getNombre();
- }
- asort($optionsEstablecimiento);
- $this->optionsEstablecimiento = $optionsEstablecimiento;
- $establecimiento_id = $this->getRequestParameter('establecimiento_id');
- if(!$establecimiento_id) {
- if(count($optionsEstablecimiento) > 0) {
- $establecimiento_id = key($optionsEstablecimiento);
- }
- }*/
-
-
- $establecimiento_id = $this->getUser()->getAttribute('fk_establecimiento_id');
- $this->establecimiento_id = $establecimiento_id;
-
-
-/* $criteria = new Criteria();
- $criteria->add(CiclolectivoPeer::FK_ESTABLECIMIENTO_ID, $establecimiento_id);
- $ciclolectivos = CiclolectivoPeer::doSelect($criteria);
- $optionsCiclolectivo = array();
- foreach ($ciclolectivos as $ciclolectivo) {
- $optionsCiclolectivo[$ciclolectivo->getId()] = $ciclolectivo->getDescripcion();
- }
- asort($optionsCiclolectivo);
- $this->optionsCiclolectivo = $optionsCiclolectivo;
-
-
- $ciclolectivo_id = $this->getRequestParameter('ciclolectivo_id');
- if(!$ciclolectivo_id) {
- if(count($optionsCiclolectivo) > 0) {
- $ciclolectivo_id = key($optionsCiclolectivo);
- }
- }*/
-
- $ciclolectivo_id = $this->getUser()->getAttribute('fk_ciclolectivo_id');
- $this->ciclolectivo_id = $ciclolectivo_id;
-
-
-/* $criteriaT = new Criteria();
- $criteriaT->add(TurnosPeer::FK_CICLOLECTIVO_ID, $ciclolectivo_id);
- $turnos = TurnosPeer::doSelect($criteriaT);*/
- $turnos = $this->getTurnos($ciclolectivo_id);
-
- $optionsTurnos = array();
- foreach ($turnos as $turno) {
- $optionsTurnos[$turno->getId()] = $turno->getDescripcion();
- }
- asort($optionsTurnos);
- $this->optionsTurnos = $optionsTurnos;
-
- $this->aHour = array();
- $horarioescolares = array();
-
- Misc::use_helper('Misc');
- $aSemana = diasDeLaSemana(1);
-
- $this->aDayNames = array("Lunes","Martes","Miercoles","Jueves","Viernes");
-
- $this->aDay= array(strtotime("2006-09-11"), strtotime("2006-09-12"), strtotime("2006-09-13"), strtotime("2006-09-14"), strtotime("2006-09-15"));
-
- $this->optionsDivision = array();
-
- if ($this->getRequest()->getMethod() == sfRequest::POST) {
- $this->division_id = $this->getRequestParameter('division_id');
- $this->actividad_id = $actividad_id = $this->getRequestParameter('actividad_id');
-
-// $ciclolectivo_id = $this->getRequestParameter('ciclolectivo_id');
-// $establecimiento_id = $this->getRequestParameter('establecimiento_id');
-
- $turnos_id = $this->getRequestParameter('turnos_id');
- $turno = TurnosPeer::retrieveByPK($turnos_id);
-
- if($this->getRequestParameter('time_interval')) {
- $this->time_interval = $this->getRequestParameter('time_interval');
- } else {
- $this->time_interval = 15;
- }
-
-
- $this->aHour = array(strtotime($turno->getHoraInicio()), strtotime($turno->getHoraFin()));
-
-
-// $criteria = new Criteria();
-// $criteria->add(HorarioescolarPeer::FK_ESTABLECIMIENTO_ID, $establecimiento_id);
-// $criteria->add(HorarioescolarPeer::FK_TURNOS_ID, $turnos_id);
-// $horarioescolares = HorarioescolarPeer::doSelect($criteria);
-
- $horarioescolares = $this->getHorarioEscolar($establecimiento_id, $turnos_id);
-
- $criteria = new Criteria();
- $criteria->add(DivisionPeer::FK_TURNOS_ID, $turnos_id);
- $criteria->add(AnioPeer::FK_ESTABLECIMIENTO_ID, $establecimiento_id);
- $criteria->addJoin(AnioPeer::ID, DivisionPeer::FK_ANIO_ID);
- $divisiones = DivisionPeer::doSelect($criteria);
- $optionsDivision = array();
-
- foreach($divisiones as $division) {
- $optionsDivision[$division->getId()] = $division->getAnio()->getDescripcion()." ".$division->getDescripcion();
- $aAnio[$division->getId()] = $division->getAnio()->getId();
- }
- asort($optionsDivision);
- $this->optionsDivision = $optionsDivision;
-
- if(!$this->division_id OR !array_key_exists($this->division_id, $aAnio) ) {
- $eachDivision = each($optionsDivision);
- $this->division_id = $eachDivision[0]; // me quedo con el primer indice del array
- }
-
- if(array_key_exists($this->division_id,$aAnio)) {
- $horasMateriasTodas = $this->getHorasMaterias($aAnio[$this->division_id]);
- $this->horasMaterias = $this->getHorasMaterias($aAnio[$this->division_id], $actividad_id);
- $this->getUser()->setAttribute('anio_id', $aAnio[$this->division_id]);
- $this->getUser()->setAttribute('division_id', $this->division_id);
-// $this->turnos_id = $turnos_id;
- $anio_id = $aAnio[$this->division_id];
- }
-
- } else {
- $this->aHour = array(strtotime("8:00"), strtotime("17:00"));
- $this->time_interval = 15;
- }
-
- //Eventos
- $this->aEvent = array();
- if(count($horarioescolares) > 0) {
-
- // Tomar todas las materias y docentes para una division X
- $criteria = new Criteria();
- $criteria->add(RelDivisionActividadDocentePeer::FK_DIVISION_ID, $this->division_id);
- $items = RelDivisionActividadDocentePeer::doSelect($criteria);
-
- $aColor = array ("silver", "gray");
- $aColorSet = array();
- $aEvent = array();
- $optionsHorarioescolar = array();
- $i=1;
- foreach ($horarioescolares as $horarioescolar) {
-
- if(!array_key_exists($horarioescolar->getFkHorarioescolartipoId(),$aColorSet)) {
- $aColorSet[$horarioescolar->getFkHorarioescolartipoId()] = $aColor[($i%2)];
- }
-
- $optionsHorarioescolar[$horarioescolar->getId()] = $horarioescolar->getDescripcion();
- $nombre = $horarioescolar->getNombre();
- $hora_inicio = $horarioescolar->getHoraInicio();
- $hora_fin = $horarioescolar->getHoraFin();
- $descripcion = $horarioescolar->getDescripcion();
- $dia_semana = $horarioescolar->getDia();
- $aDia = array();
- switch($dia_semana) {
- case 8:
- $aDia[] = date("Y-m-d", $this->aDay[0]);
- $aDia[] = date("Y-m-d", $this->aDay[1]);
- $aDia[] = date("Y-m-d", $this->aDay[2]);
- $aDia[] = date("Y-m-d", $this->aDay[3]);
- $aDia[] = date("Y-m-d", $this->aDay[4]);
- break;
- default: $aDia[] = date("Y-m-d", $this->aDay[($dia_semana-1)]);
- }
-
-
- for($j=0;$j<count($aDia);$j++) {
-
- $oEvent = (object) array ( 'id'=> $i ,'name' => $nombre ,'date' => $aDia[$j],'start_time' => $hora_inicio, 'end_time' => $hora_fin, 'desc' => $descripcion, 'color' => $aColorSet[$horarioescolar->getFkHorarioescolartipoId()]);
- $this->getUser()->setAttribute('horarios_eventname'.$i, array());
- $aEvent["eventname".$i] = $oEvent;
- //$this->aEvent[] = $oEvent;
- $i++;
- }
- }
-
- $this->aEvent = $this->cargarItemCalendario($this->division_id, $aEvent, $horasMateriasTodas );
- $this->getUser()->setAttribute('event', $aEvent);
-
- }
-
- $optionsActividad[""] = "";
- $criteria = new Criteria();
- $criteria->add(ActividadPeer::FK_ESTABLECIMIENTO_ID, $establecimiento_id);
- $criteria->addJoin(RelAnioActividadPeer::FK_ACTIVIDAD_ID, ActividadPeer::ID);
- if($anio_id) {
- $criteria->add(RelAnioActividadPeer::FK_ANIO_ID, $anio_id);
- }
- $actividades = ActividadPeer::doSelect($criteria);
- foreach($actividades as $actividad) {
- $optionsActividad[$actividad->getId()] = $actividad->getNombre();
- }
- $this->optionsActividad = $optionsActividad;
- $this->turnos_id = $turnos_id;
}
-
- private function agregarItemCalendario($horasMaterias_id, $docente_id, $division_id, $oEvent) {
- $item = new RelDivisionActividadDocente();
- //$item->setId($id);
- $item->setFkDivisionId($division_id);
- $item->setFkActividadId($horasMaterias_id);
- $item->setFkRepeticionId(1); // id de semanal en tabla repeticion
- $item->setFechaInicio($oEvent->date);
- $item->setFechaFin($oEvent->date);
- $item->setHoraInicio($oEvent->start_time);
- $item->setHoraFin($oEvent->end_time);
- $item->setFkDocenteId($docente_id);
- //$item->setFkCargobajaId();
- //$item->setFkTipodocenteId();
- $item->save();
- }
-
- private function borrarItemCalendario($horasMaterias_id, $docente_id, $division_id, $oEvent) {
- $criteria = new Criteria();
- $criteria->add(RelDivisionActividadDocentePeer::FK_ACTIVIDAD_ID, $horasMaterias_id);
- $criteria->add(RelDivisionActividadDocentePeer::FK_DIVISION_ID, $division_id);
- $criteria->add(RelDivisionActividadDocentePeer::FECHA_INICIO, $oEvent->date);
- $criteria->add(RelDivisionActividadDocentePeer::FECHA_FIN, $oEvent->date);
- $criteria->add(RelDivisionActividadDocentePeer::HORA_INICIO, $oEvent->start_time);
- $criteria->add(RelDivisionActividadDocentePeer::HORA_FIN, $oEvent->end_time);
- $criteria->add(RelDivisionActividadDocentePeer::FK_DOCENTE_ID, $docente_id);
- RelDivisionActividadDocentePeer::doDelete($criteria);
- }
-
- private function cargarItemCalendario($division_id, $aEvent, $horasMaterias) {
-
- $criteria = new Criteria();
- $criteria->add(RelDivisionActividadDocentePeer::FK_DIVISION_ID, $division_id);
- $items = RelDivisionActividadDocentePeer::doSelect($criteria);
-
- $nombre = "";
- $aResEvent = array();
-
- foreach($aEvent as $idx => $event) {
- $diaEvent = date("D",strtotime($event->date));
- $flag = 0;
- foreach ($items as $item) {
- $diaItem = date("D",strtotime($item->getFechaInicio()));
- if( $item->getHoraInicio() == $event->start_time AND
- $item->getHoraFin() == $event->end_time AND
- $item->getFechaInicio() == $item->getFechaFin() AND
- $diaItem == $diaEvent) {
-
- $name = "eventname".$event->id;
- $horarioMaterias_id = $item->getFkActividadId();
- $docente_id = $item->getFkDocenteId();
- $var = $name."_".$horarioMaterias_id."_".$docente_id;
-
- $nombre = "<img src='".sfContext::getInstance()->getRequest()->getRelativeUrlRoot()."/sf/sf_admin/images/tick.png' id='".$var."_1' style='position:relative' class='horarioMaterias-items' ><span class='title'>".$horasMaterias[$horarioMaterias_id."_".$docente_id]->nombre."</span>
-<script type='text/javascript'>
-//<![CDATA[
-new Draggable('".$var."_1', {revert:1})
-//]]
-</script>";
-
- $aResEvent[] = (object) array ( 'id'=> $event->id ,'name' => $nombre ,'date' => $event->date,'start_time' => $event->start_time, 'end_time' => $event->end_time, 'desc' => $event->desc, 'color' => $event->color);
- $flag=1;
- }
- }
- if($flag==0) {
- $aResEvent[] = (object) array ( 'id'=> $event->id ,'name' => $event->name ,'date' => $event->date,'start_time' => $event->start_time, 'end_time' => $event->end_time, 'desc' => $event->desc, 'color' => $event->color);
- }
- }
-
- return $aResEvent;
- }
-
-
public function executeBusquedaDocente() {
// inicializando variables
$aDocente = array();
@@ -487,58 +82,51 @@
$this->aDocente = $aDocente;
}
- public function executeHorarioSegunDocente() {
- Misc::use_helper('Misc');
-
- //Iniciando Variables
- $aHoras = array();
- $aEvento = array();
+ function getEventos($aRes, $vista) {
+ include("miExportadorIcal.class.php");
+ $e = new miExportadorIcal();
+ $archivo = sfConfig::get('app_alba_tmpdir')."/".$e->exportar($aRes, 0);
+ if($this->getRequestParameter('date')) {
+ $date_component = $this->getRequestParameter('date');
+ } else {
+ $date_component = "";
+ }
+ if($this->getRequestParameter('view')) {
+ switch($this->getRequestParameter('view')) {
+ case 'week': $view = 'verPorSemana'; break;
+ case 'day': $view = 'verPorDia'; break;
+ default: $view = 'verPorDia';
+ }
+ } else {
+ $view = "verPorSemana";
+ }
+
+ return array($view, $archivo, $date_component);
+ }
+
+
+
+
+ public function executeHorarioSegunDocente() {
// tomando los datos del formulario
$docente_id = $this->getRequestParameter('id');
$establecimiento_id = $this->getUser()->getAttribute('fk_establecimiento_id');
- //$ciclolectivo_id = $this->getUser()->getAttribute('fk_ciclolectivo_id');
-
// Trayendo datos necesarios
$docente = DocentePeer::retrieveByPK($docente_id);
+
+ //para hora de inicio y hora de fin
$aHoras = $this->getHorarioEscolar($establecimiento_id,0,1);
- foreach($aHoras as $hora) {
- $aDatosHoras[$hora->getHoraInicio().$hora->getHoraFin()] = $hora->getId();
- $aHorasIdx[$hora->getId()] = $hora;
- }
-
- //$aTurnos = $this->getTurnos($ciclolectivo_id);
-
-
-
-
+ // Horarios del Docente
$criteria = new Criteria();
$criteria->add(RelDivisionActividadDocentePeer::FK_DOCENTE_ID, $docente_id);
- $criteria->addJoin(RelDivisionActividadDocentePeer::FK_ACTIVIDAD_ID, ActividadPeer::ID, Criteria::LEFT_JOIN);
- $criteria->addAsColumn("actividad_nombre", ActividadPeer::NOMBRE);
- $criteria->addAsColumn("hora_inicio", RelDivisionActividadDocentePeer::HORA_INICIO);
- $criteria->addAsColumn("hora_fin", RelDivisionActividadDocentePeer::HORA_FIN);
- $criteria->addAsColumn("fecha_inicio", RelDivisionActividadDocentePeer::FECHA_INICIO);
- $criteria->addAsColumn("fecha_fin", RelDivisionActividadDocentePeer::FECHA_FIN);
+ $aEvento = RelDivisionActividadDocentePeer::doSelect($criteria);
-// deberia agregar la division para mostrar
- $eventos = BasePeer::doSelect($criteria);
-
- foreach($eventos as $evento) {
- if($evento[1] != "00:00:00" AND $evento[2] != "00:00:00") {
- $dia = date("w",strtotime($evento[3]));
- $aEvento[$aDatosHoras[$evento[1].$evento[2]]][$dia] = $evento[0];
- }
- }
-
- // asignando variables para ser usadas en el template
+ list($this->view, $this->archivo, $this->date_component) = $this->getEventos($aEvento, "verPorSemana");
$this->docente = $docente;
- $this->aHoras = $aHorasIdx;
- $this->aEvento = $aEvento;
- $this->aDia = diasDeLaSemana();
}
@@ -566,65 +154,27 @@
public function executeHorarioSegunDivision() {
- Misc::use_helper('Misc');
-
- $aEvento = array();
- $aHorasIdx = array();
- $aDatosHoras = array();
-
// tomando los datos del formulario
$division_id = $this->getRequestParameter('id');
$establecimiento_id = $this->getUser()->getAttribute('fk_establecimiento_id');
-
// trayendo datos necesarios
$division = DivisionPeer::retrieveByPK($division_id);
-
$aHoras = $this->getHorarioEscolar($establecimiento_id, $division->getFkTurnosId() ,1);
-// if(count($aHoras) == 0) {
-// $aHoras = $this->getHorarioEscolar($establecimiento_id, 0,1);
-// }
- foreach($aHoras as $hora) {
- $aDatosHoras[$hora->getHoraInicio().$hora->getHoraFin()] = $hora->getId();
- $aHorasIdx[$hora->getId()] = $hora;
- }
-
$criteria = new Criteria();
$criteria->add(RelDivisionActividadDocentePeer::FK_DIVISION_ID, $division_id);
- $criteria->addJoin(RelDivisionActividadDocentePeer::FK_ACTIVIDAD_ID, ActividadPeer::ID, Criteria::LEFT_JOIN);
- $criteria->addAsColumn("actividad_nombre", ActividadPeer::NOMBRE);
- $criteria->addAsColumn("hora_inicio", RelDivisionActividadDocentePeer::HORA_INICIO);
- $criteria->addAsColumn("hora_fin", RelDivisionActividadDocentePeer::HORA_FIN);
- $criteria->addAsColumn("fecha_inicio", RelDivisionActividadDocentePeer::FECHA_INICIO);
- $criteria->addAsColumn("fecha_fin", RelDivisionActividadDocentePeer::FECHA_FIN);
+ $aEvento = RelDivisionActividadDocentePeer::doSelect($criteria);
-// deberia agregar la division para mostrar
- $eventos = BasePeer::doSelect($criteria);
-
- foreach($eventos as $evento) {
- if($evento[1] != "00:00:00" AND $evento[2] != "00:00:00") {
- $dia = date("w",strtotime($evento[3]));
- $idx = $evento[1].$evento[2];
- if(array_key_exists($idx,$aDatosHoras)) {
- $aEvento[$aDatosHoras[$idx]][$dia] = $evento[0];
- }
- }
- }
+ list($this->view, $this->archivo, $this->date_component) = $this->getEventos($aEvento, "verPorSemana");
-
// asignando variables para ser usadas en el template
$this->division = $division;
- $this->aHoras = $aHorasIdx;
- $this->aEvento = $aEvento;
- $this->aDia = diasDeLaSemana();
-
-
}
protected function getHorarioEscolar($establecimiento_id = 0, $turnos_id = 0, $orden = 0) {
- $criteria = new Criteria();
+ $criteria = new Criteria();
if($establecimiento_id) {
$criteria->add(HorarioescolarPeer::FK_ESTABLECIMIENTO_ID, $establecimiento_id);
}
@@ -633,9 +183,7 @@
}
if($orden) {
- $criteria->addAscendingOrderByColumn(HorarioescolarPeer::FK_TURNOS_ID);
- $criteria->addAscendingOrderByColumn(HorarioescolarPeer::HORA_INICIO);
- $criteria->addAscendingOrderByColumn(HorarioescolarPeer::HORA_FIN);
+ $criteria->addAscendingOrderByColumn(HorarioescolarPeer::FK_TURNOS_ID);
}
$horarioescolares = HorarioescolarPeer::doSelect($criteria);
Modified: prosistem/alba/trunk/alba/apps/principal/modules/calendario/templates/horarioSegunDivisionSuccess.php
===================================================================
--- prosistem/alba/trunk/alba/apps/principal/modules/calendario/templates/horarioSegunDivisionSuccess.php 2007-07-25 17:51:16 UTC (rev 4873)
+++ prosistem/alba/trunk/alba/apps/principal/modules/calendario/templates/horarioSegunDivisionSuccess.php 2007-07-25 18:40:59 UTC (rev 4874)
@@ -1,95 +1,5 @@
-<style>
-
-table.horario {
- border: 1px solid;
-}
-
-table.horario th {
- text-align: center;
- border: 1px solid;
- background-color: #C1FFC1;
-}
-
-table.horario td {
- border: 1px solid;
- text-align: center;
-}
-
-
-table.horario td.activo {
- background-color: #86C67C;
-}
-
-table.horario td.inactivo {
- background-color: #CD0000;
-}
-
-table.horario td.evento {
- background-color: #68838B;
-}
-
-
-</style>
-
<h1>Horario para la Divsión: <?php echo $division->getAnio()->getDescripcion()." ".$division->getDescripcion()?></h1>
-
-<table cellspacing="0" class="horario">
- <thead>
- <tr>
- <th colspan="2">Horas/Días</th>
-<?php foreach($aDia as $dia) {?>
- <th><?=$dia?></th>
-<? } ?>
-
- </tr>
- </thead>
-
- <tbody>
-<?php
- $aColor= colorTurnos();
- $aColorUsado = array();
- $i=-1;
- $ultimo = "";
- foreach($aHoras as $idx => $horas){
- if($ultimo != $horas->getFkTurnosId()) {
- $i++;
- $aColorUsado[] = $aColor[$i];
- $aTurnos[] = ($horas->getTurnos())?$horas->getTurnos()->getDescripcion():"";
- }
+<?php
+ include_component('icalVisualizador', $view, array('archivo' => $archivo, 'date_component' => $date_component));
?>
- <tr>
- <td style="background-color: <?php echo $aColor[$i]?>" width="3%"><?=$horas->getHoraInicio()." ".$horas->getHoraFin()?></td>
- <td style="background-color: <?php echo $aColor[$i]?>" width="8%"><?=$horas->getNombre()?></td>
- <? foreach($aDia as $idx_dia => $dia) {
- switch($horas->getDia()) {
- case "8": case "$idx_dia": $color = "activo"; break;
- default: $color = "inactivo";
- }
- $actividad = "";
- if ( array_key_exists($idx, $aEvento) AND array_key_exists($idx_dia, $aEvento[$idx])) {
- $color = "evento";
- $actividad = $aEvento[$idx][$idx_dia];
- }
-?>
- <td class="<?php echo $color?>"><?=$actividad?></td>
- <? } ?>
- </tr>
-<? $ultimo = $horas->getFkTurnosId();
- }
-?>
-
- </tbody>
-</table>
-
-
-<br>
-<br>
-Otra Referencia:
-<table cellspacing="0" class="horario">
- <tr>
- <td width="10%" class="inactivo">Inactivo</td>
- <td width="10%" class="activo">Activo</td>
- <td width="10%" class="evento">Evento</td>
- </tr>
-</table>
\ No newline at end of file
Modified: prosistem/alba/trunk/alba/apps/principal/modules/calendario/templates/horarioSegunDocenteSuccess.php
===================================================================
--- prosistem/alba/trunk/alba/apps/principal/modules/calendario/templates/horarioSegunDocenteSuccess.php 2007-07-25 17:51:16 UTC (rev 4873)
+++ prosistem/alba/trunk/alba/apps/principal/modules/calendario/templates/horarioSegunDocenteSuccess.php 2007-07-25 18:40:59 UTC (rev 4874)
@@ -1,106 +1,5 @@
-<style>
-
-table.horario {
- border: 1px solid;
-}
-
-table.horario th {
- text-align: center;
- border: 1px solid;
- background-color: #C1FFC1;
-}
-
-table.horario td {
- border: 1px solid;
- text-align: center;
-}
-
-
-table.horario td.activo {
- background-color: #86C67C;
-}
-
-table.horario td.inactivo {
- background-color: #CD0000;
-}
-
-table.horario td.evento {
- background-color: #68838B;
-}
-
-
-</style>
-
<h1>Horario para el Docente: <?=$docente->getApellido()." ".$docente->getNombre()?></h1>
-
-<table cellspacing="0" class="horario">
- <thead>
- <tr>
- <th colspan="2">Horas/Días</th>
-<?php foreach($aDia as $dia) {?>
- <th><?php echo $dia?></th>
-<?php } ?>
-
- </tr>
- </thead>
-
- <tbody>
-<?php
- $aColor= colorTurnos();
- $aColorUsado = array();
- $i=-1;
- $ultimo = "";
- foreach($aHoras as $idx => $horas){
- if($ultimo != $horas->getFkTurnosId()) {
- $i++;
- $aColorUsado[] = $aColor[$i];
- $aTurnos[] = ($horas->getTurnos())?$horas->getTurnos()->getDescripcion():"";
- }
+<?php
+ include_component('icalVisualizador', $view, array('archivo' => $archivo, 'date_component' => $date_component));
?>
- <tr>
- <td style="background-color: <?php echo $aColor[$i]?>" width="3%"><?=$horas->getHoraInicio()." ".$horas->getHoraFin()?></td>
- <td style="background-color: <?php echo $aColor[$i]?>" width="8%"><?=$horas->getNombre()?></td>
- <?php foreach($aDia as $idx_dia => $dia) {
- switch($horas->getDia()) {
- case "8": case "$idx_dia": $color = "activo"; break;
- default: $color = "inactivo";
- }
- $actividad = "";
- if ( array_key_exists($idx, $aEvento) AND array_key_exists($idx_dia, $aEvento[$idx])) {
- $color = "evento";
- $actividad = $aEvento[$idx][$idx_dia];
- }
-?>
- <td class="<?=$color?>"><?=$actividad?></td>
- <?php } ?>
- </tr>
-<?php $ultimo = $horas->getFkTurnosId();
- }
-?>
-
- </tbody>
-</table>
-
-<br>
-<br>
-Referencia de Turnos:
-<table cellspacing="0" class="horario">
- <tr>
- <?php for($i=0, $max=count($aColorUsado);$i<$max;$i++) { ?>
- <td width="10%" style="background-color: <?=$aColorUsado[$i]?>"><?php echo $aTurnos[$i]?></td>
- <?php } ?>
- </tr>
-</table>
-
-
-<br>
-<br>
-Otra Referencia:
-<table cellspacing="0" class="horario">
- <tr>
- <td width="10%" class="inactivo">Inactivo</td>
- <td width="10%" class="activo">Activo</td>
- <td width="10%" class="evento">Evento</td>
- </tr>
-</table>
\ No newline at end of file
1
0
SVN Alba r4873 - in prosistem/alba/trunk/alba: apps/principal/modules/docenteHorario/actions apps/principal/modules/docenteHorario/templates lib/model
by commits@pressenter.com.ar 25 Jul '07
by commits@pressenter.com.ar 25 Jul '07
25 Jul '07
Author: josx
Date: 2007-07-25 14:51:16 -0300 (Wed, 25 Jul 2007)
New Revision: 4873
Modified:
prosistem/alba/trunk/alba/apps/principal/modules/docenteHorario/actions/actions.class.php
prosistem/alba/trunk/alba/apps/principal/modules/docenteHorario/templates/listSuccess.php
prosistem/alba/trunk/alba/lib/model/DocenteHorario.php
prosistem/alba/trunk/alba/lib/model/Horarioescolar.php
prosistem/alba/trunk/alba/lib/model/RelDivisionActividadDocente.php
Log:
Borrado para los eventos desde las tablas en donde estan los foreign keys
Modified: prosistem/alba/trunk/alba/apps/principal/modules/docenteHorario/actions/actions.class.php
===================================================================
--- prosistem/alba/trunk/alba/apps/principal/modules/docenteHorario/actions/actions.class.php 2007-07-25 17:35:31 UTC (rev 4872)
+++ prosistem/alba/trunk/alba/apps/principal/modules/docenteHorario/actions/actions.class.php 2007-07-25 17:51:16 UTC (rev 4873)
@@ -73,11 +73,14 @@
}
public function executeDeleteHorario () {
- $this->docenteHorario = DocenteHorarioPeer::retrieveByPk( array( $this->getRequestParameter('docente_id'), $this->getRequestParameter('evento_id')));
+// $this->docenteHorario = DocenteHorarioPeer::retrieveByPk( array( $this->getRequestParameter('idDocente'), $this->getRequestParameter('idEvento')));
+ $c = new Criteria();
+ $c->add(DocenteHorarioPeer::FK_DOCENTE_ID, $this->getRequestParameter('idDocente'));
+ $c->add(DocenteHorarioPeer::FK_EVENTO_ID, $this->getRequestParameter('idEvento'));
+ $this->docenteHorario = DocenteHorarioPeer::doSelectOne($c);
$this->forward404Unless($this->docenteHorario);
$idDocente = $this->docenteHorario->getFkDocenteId();
$link = 'docenteHorario/list?idDocente='.$idDocente;
- $this->docenteHorario->delete();
try {
$this->docenteHorario->delete();
}
@@ -85,7 +88,6 @@
$this->getRequest()->setError('delete', 'Could not delete the selected Docente Horario. Make sure it does not have any associated items.');
return $this->redirect($link);
}
-
return $this->redirect($link);
}
Modified: prosistem/alba/trunk/alba/apps/principal/modules/docenteHorario/templates/listSuccess.php
===================================================================
--- prosistem/alba/trunk/alba/apps/principal/modules/docenteHorario/templates/listSuccess.php 2007-07-25 17:35:31 UTC (rev 4872)
+++ prosistem/alba/trunk/alba/apps/principal/modules/docenteHorario/templates/listSuccess.php 2007-07-25 17:51:16 UTC (rev 4873)
@@ -36,7 +36,7 @@
<td>
<ul class="sf_admin_td_actions">
<li><?php echo link_to(image_tag('/sf/sf_admin/images/edit_icon.png', array('alt' => __('edit'), 'title' => __('edit'))), 'docenteHorario/edit?idDocente='.$docente_horario->getFkDocenteId()."&idEvento=".$docente_horario->getFkEventoId()) ?></li>
- <li><?php echo link_to(image_tag('/sf/sf_admin/images/delete_icon.png', array('alt' => __('delete'), 'title' => __('delete'))), 'docenteHorario/delete?idDocente='.$docente_horario->getFkDocenteId()."&idEvento=".$docente_horario->getFkEventoId(), array (
+ <li><?php echo link_to(image_tag('/sf/sf_admin/images/delete_icon.png', array('alt' => __('delete'), 'title' => __('delete'))), 'docenteHorario/deleteHorario?idDocente='.$docente_horario->getFkDocenteId()."&idEvento=".$docente_horario->getFkEventoId(), array (
'post' => true,
'confirm' => __('Are you sure?'),
)) ?></li>
Modified: prosistem/alba/trunk/alba/lib/model/DocenteHorario.php
===================================================================
--- prosistem/alba/trunk/alba/lib/model/DocenteHorario.php 2007-07-25 17:35:31 UTC (rev 4872)
+++ prosistem/alba/trunk/alba/lib/model/DocenteHorario.php 2007-07-25 17:51:16 UTC (rev 4873)
@@ -16,4 +16,32 @@
*/
class DocenteHorario extends BaseDocenteHorario {
+ public function delete($con = null)
+ {
+ if ($this->isDeleted()) {
+ throw new PropelException("This object has already been deleted.");
+ }
+
+ if ($con === null) {
+ $con = Propel::getConnection(DocenteHorarioPeer::DATABASE_NAME);
+ }
+
+ try {
+ $con->begin();
+
+ $evento = EventoPeer::retrieveByPk($this->getFkEventoId());
+ $evento->delete();
+
+ DocenteHorarioPeer::doDelete($this, $con);
+ $this->setDeleted(true);
+
+ $con->commit();
+ } catch (PropelException $e) {
+ $con->rollback();
+ throw $e;
+ }
+ }
+
+
+
} // DocenteHorario
Modified: prosistem/alba/trunk/alba/lib/model/Horarioescolar.php
===================================================================
--- prosistem/alba/trunk/alba/lib/model/Horarioescolar.php 2007-07-25 17:35:31 UTC (rev 4872)
+++ prosistem/alba/trunk/alba/lib/model/Horarioescolar.php 2007-07-25 17:51:16 UTC (rev 4873)
@@ -16,4 +16,31 @@
*/
class Horarioescolar extends BaseHorarioescolar {
+ public function delete($con = null)
+ {
+ if ($this->isDeleted()) {
+ throw new PropelException("This object has already been deleted.");
+ }
+
+ if ($con === null) {
+ $con = Propel::getConnection(HorarioescolarPeer::DATABASE_NAME);
+ }
+
+ try {
+ $con->begin();
+
+ $evento = EventoPeer::retrieveByPk($this->getFkEventoId());
+ $evento->delete();
+
+ HorarioescolarPeer::doDelete($this, $con);
+ $this->setDeleted(true);
+
+ $con->commit();
+ } catch (PropelException $e) {
+ $con->rollback();
+ throw $e;
+ }
+ }
+
+
} // Horarioescolar
Modified: prosistem/alba/trunk/alba/lib/model/RelDivisionActividadDocente.php
===================================================================
--- prosistem/alba/trunk/alba/lib/model/RelDivisionActividadDocente.php 2007-07-25 17:35:31 UTC (rev 4872)
+++ prosistem/alba/trunk/alba/lib/model/RelDivisionActividadDocente.php 2007-07-25 17:51:16 UTC (rev 4873)
@@ -16,4 +16,32 @@
*/
class RelDivisionActividadDocente extends BaseRelDivisionActividadDocente {
+
+ public function delete($con = null)
+ {
+ if ($this->isDeleted()) {
+ throw new PropelException("This object has already been deleted.");
+ }
+
+ if ($con === null) {
+ $con = Propel::getConnection(RelDivisionActividadDocentePeer::DATABASE_NAME);
+ }
+
+ try {
+ $con->begin();
+
+ $evento = EventoPeer::retrieveByPk($this->getFkEventoId());
+ $evento->delete();
+
+ RelDivisionActividadDocentePeer::doDelete($this, $con);
+ $this->setDeleted(true);
+
+ $con->commit();
+ } catch (PropelException $e) {
+ $con->rollback();
+ throw $e;
+ }
+ }
+
+
} // RelDivisionActividadDocente
1
0
Author: ftoledo
Date: 2007-07-25 14:35:31 -0300 (Wed, 25 Jul 2007)
New Revision: 4872
Modified:
prosistem/alba/trunk/alba/web/install.php
Log:
cambiando instalacion.
Modified: prosistem/alba/trunk/alba/web/install.php
===================================================================
--- prosistem/alba/trunk/alba/web/install.php 2007-07-25 16:43:37 UTC (rev 4871)
+++ prosistem/alba/trunk/alba/web/install.php 2007-07-25 17:35:31 UTC (rev 4872)
@@ -38,48 +38,30 @@
define("MEMORY_LIMIT_REQUIRED", "16");
define("MYSQL_REQUIRED_VERSION","4.1.0");
- define("INSTALL_DIR", getcwd().DIRECTORY_SEPARATOR);
-
- chdir("alba".DIRECTORY_SEPARATOR);
- define("ALBA_PATH", getcwd().DIRECTORY_SEPARATOR);
+ define("INSTALL_DIR", realpath(dirname(__FILE__) . DIRECTORY_SEPARATOR . ".." . DIRECTORY_SEPARATOR). DIRECTORY_SEPARATOR);
+ define("DEBUG_LOG",INSTALL_DIR."log".DIRECTORY_SEPARATOR."install.log");
+ define("ALBA_WEB",INSTALL_DIR."web" . DIRECTORY_SEPARATOR);
+ define("ALBA_CONFIG", INSTALL_DIR."config".DIRECTORY_SEPARATOR);
- define("INSTALL_COMPLETE_DIR",ALBA_PATH."log");
- define("INSTALL_COMPLETE_FILE",INSTALL_COMPLETE_DIR.DIRECTORY_SEPARATOR."instalacion_completa");
- define("DEBUG_LOG",INSTALL_COMPLETE_DIR.DIRECTORY_SEPARATOR."install.log");
- //define("DEBUG_LOG","install.log");
- define("ALBA_WEB",ALBA_PATH."web".DIRECTORY_SEPARATOR);
- define("CONFIG_PATH", ALBA_PATH."config".DIRECTORY_SEPARATOR);
-
- define("APACHE_CONFIG_DIST", CONFIG_PATH."apache.conf.dist");
- define("DATABASE_CONFIG_DIST", CONFIG_PATH."databases.yml.dist");
- define("PROPEL_CONFIG_DIST", CONFIG_PATH."propel.ini.dist");
+ define("APACHE_CONFIG_DIST", ALBA_CONFIG."apache.conf.dist");
+ define("DATABASE_CONFIG_DIST", ALBA_CONFIG."databases.yml.dist");
+ define("PROPEL_CONFIG_DIST", ALBA_CONFIG."propel.ini.dist");
define("HTACCESS_DIST", ALBA_WEB.".htaccess.dist");
- define("SCHEMA_DIST", CONFIG_PATH."schema.xml.dist");
- define("APACHE_CONFIG", CONFIG_PATH."apache.conf");
- define("DATABASE_CONFIG", CONFIG_PATH."databases.yml");
- define("PROPEL_CONFIG", CONFIG_PATH."propel.ini");
+ define("DATABASE_CONFIG", ALBA_CONFIG."databases.yml");
+ define("PROPEL_CONFIG", ALBA_CONFIG."propel.ini");
define("HTACCESS", ALBA_WEB.".htaccess");
- define("SCHEMA", CONFIG_PATH."schema.xml");
+ define("SCHEMA", ALBA_CONFIG."schema.xml");
- define("SYMFONY_DIR","symfony-1.0.0");
define("IMG_OK", "<img src='installer/images/save.png'>");
define("IMG_NOT_OK", "<img src='installer/images/delete.png'>");
- define("SQL_CREATE_DB", ALBA_PATH."data".DIRECTORY_SEPARATOR."sql".DIRECTORY_SEPARATOR."create-db.sql");
- define("SQL_CREATE", ALBA_PATH."data".DIRECTORY_SEPARATOR."sql".DIRECTORY_SEPARATOR."schema.sql");
- define("SQL_INSERT_INICIAL", ALBA_PATH."data".DIRECTORY_SEPARATOR."sql".DIRECTORY_SEPARATOR."datos_desde_cero.sql");
- define("SQL_INSERT_EJEMPLO", ALBA_PATH."data".DIRECTORY_SEPARATOR."sql".DIRECTORY_SEPARATOR."datos_ejemplo.sql");
+ define("SQL_CREATE_DB", INSTALL_DIR."data".DIRECTORY_SEPARATOR."sql".DIRECTORY_SEPARATOR."create-db.sql");
+ define("SQL_CREATE", INSTALL_DIR."data".DIRECTORY_SEPARATOR."sql".DIRECTORY_SEPARATOR."schema.sql");
+ define("SQL_INSERT_INICIAL", INSTALL_DIR."data".DIRECTORY_SEPARATOR."sql".DIRECTORY_SEPARATOR."datos_desde_cero.sql");
+ define("SQL_INSERT_EJEMPLO", INSTALL_DIR."data".DIRECTORY_SEPARATOR."sql".DIRECTORY_SEPARATOR."datos_ejemplo.sql");
- define("CURRENT_WEB_DIR",dirname($_SERVER["PHP_SELF"])."/");
- define("SYMFONY_WEB_DIR", "public_html");
-
- define("SERVER","http://" . $_SERVER['SERVER_NAME'].CURRENT_WEB_DIR);
- define("SYMFONY_WINDOWS_WEB_DIR","alba/web"); // directorio directo del web en alba
- define("REDIRECT_URL",(OS_WINDOWS)?SERVER.SYMFONY_WINDOWS_WEB_DIR."/index.php":SERVER.SYMFONY_WEB_DIR."/");
-
-
if(!file_exists(INSTALL_COMPLETE_FILE)) {
$fp = fopen(DEBUG_LOG, "at" );
1
0