--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<XMI xmlns:UML="org.omg/standards/UML" verified="false" timestamp="" xmi.version="1.2" >
+ <XMI.header>
+ <XMI.documentation>
+ <XMI.exporter>umbrello uml modeller http://uml.sf.net</XMI.exporter>
+ <XMI.exporterVersion>1.1</XMI.exporterVersion>
+ </XMI.documentation>
+ <XMI.model xmi.name="agenda" href="/home/martin/public_html/intranet/doc/servicios/agenda/agenda.xmi" />
+ <XMI.metamodel xmi.name="UML" href="UML.xml" xmi.version="1.3" />
+ </XMI.header>
+ <XMI.content>
+ <docsettings viewid="173" documentation="Familiares a cargo del agente" uniqueid="175" />
+ <umlobjects>
+ <UML:Class stereotype="" package="" xmi.id="156" abstract="0" documentation="x2c:extern" name="DB" static="0" scope="200" />
+ <UML:Class stereotype="" package="" xmi.id="174" abstract="0" documentation="Clase para el manejo de la agenda en la cual se muestran la informacion de los internos de los diferentes edificios." name="Servicios_Agenda" static="0" scope="200" >
+ <UML:Operation stereotype="" package="" xmi.id="175" type="array ()" abstract="0" documentation="" name="getEdificios" static="1" scope="200" >
+ <UML:Parameter stereotype="" package="" xmi.id="1" value="" type="DB" abstract="0" documentation="Conexiona la base de datos" name="db" static="0" scope="200" />
+ </UML:Operation>
+ </UML:Class>
+ </umlobjects>
+ <diagrams>
+ <diagram snapgrid="1" showattsig="1" fillcolor="#ffffc0" showgrid="1" showopsig="1" usefillcolor="1" snapx="10" snapy="10" showatts="1" xmi.id="173" documentation="" type="402" showops="1" showpackage="0" name="Agenda" localid="30000" showstereotype="0" showscope="1" font="Courier [Adobe],12,-1,5,50,0,0,0,1,0" linecolor="#ff0000" >
+ <widgets>
+ <UML:ConceptWidget usesdiagramfillcolour="0" width="354" showattsigs="601" usesdiagramusefillcolour="0" x="30" linecolour="#ff0000" y="120" showopsigs="601" usesdiagramlinecolour="0" fillcolour="#ffffc0" height="42" usefillcolor="1" showattributes="1" xmi.id="174" showoperations="1" showpackage="0" showscope="1" showstereotype="0" font="Courier [Adobe],12,-1,5,50,0,0,0,1,0" />
+ </widgets>
+ <messages/>
+ <associations/>
+ </diagram>
+ </diagrams>
+ <listview>
+ <listitem open="1" type="800" id="-1" label="Views" >
+ <listitem open="1" type="801" id="-1" label="Logical View" >
+ <listitem open="1" type="813" id="174" label="Servicios_Agenda" >
+ <listitem open="0" type="815" id="175" label="getEdificios" />
+ </listitem>
+ <listitem open="1" type="807" id="173" label="Agenda" />
+ <listitem open="1" type="813" id="156" label="DB" />
+ </listitem>
+ <listitem open="1" type="802" id="-1" label="Use Case View" />
+ </listitem>
+ </listview>
+ </XMI.content>
+</XMI>
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ! vim: set expandtab tabstop=4 softtabstop=4 shiftwidth=4:
+ ! **********************************************************************
+ ! * Ministerio de Economía *
+ ! * Intranet *
+ ! **********************************************************************
+ ! * This file is part of Intranet. *
+ ! * *
+ ! * Intranet is free software; you can redistribute it and/or modify *
+ ! * it under the terms of the GNU General Public License as published *
+ ! * by the Free Software Foundation; either version 2 of the License, *
+ ! * or (at your option) any later version. *
+ ! * *
+ ! * Intranet is distributed in the hope that it will be useful, but *
+ ! * WITHOUT ANY WARRANTY; without even the implied warranty of *
+ ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
+ ! * General Public License for more details. *
+ ! * *
+ ! * You should have received a copy of the GNU General Public License *
+ ! * along with Hooks; if not, write to the Free Software Foundation, *
+ ! * Inc., 59 Temple Place, Suite 330, Boston, MA 02111*1307 USA *
+ ! **********************************************************************
+ ! * Creado: Mon Jun 23 14:09:15 ART 2003 *
+ ! * Autor: Martin Marrese <mmarre@mecon.gov.ar>
+ ! *********************************************************************+
+ !
+ ! $Id$
+ !
+ !-->
+
+<xmi2code>
+ <option key="target" value="*"/>
+ <option key="xmi-input" value="agenda.xmi"/>
+ <option key="config-file" value="xmi2code.config"/>
+ <option key="config-file-set" value="false"/>
+ <option key="handler" value="umbrello"/>
+ <option key="generator-path" value="../../../sistema/local_lib/"/>
+ <option key="use-underscores-as-dirs" value="true"/>
+ <option key="use-package-as-dir" value="false"/>
+ <option key="indent" value=" "/>
+ <option key="files-case" value="preserve"/>
+ <option key="generator" value="php.pear"/>
+ <option key="template-path" value="."/>
+ <option key="php.template" value="xmi2code.tpl.php"/>
+ <option key="php.default-code" value="trigger_error('Not implemented!', E_USER_WARNING);"/>
+ <option key="php.pear.use-package-in-classnames" value="false"/>
+ <option key="php.pear.underscore-in-nonpublic" value="true"/>
+</xmi2code>
--- /dev/null
+<?php
+// vim: set expandtab tabstop=4 softtabstop=4 shiftwidth=4:
+// +--------------------------------------------------------------------+
+// | Ministerio de Economía |
+// | Intranet |
+// +--------------------------------------------------------------------+
+// | This file is part of Intranet. |
+// | |
+// | Intranet is free software; you can redistribute it and/or modify |
+// | it under the terms of the GNU General Public License as published |
+// | by the Free Software Foundation; either version 2 of the License, |
+// | or (at your option) any later version. |
+// | |
+// | Intranet is distributed in the hope that it will be useful, but |
+// | WITHOUT ANY WARRANTY; without even the implied warranty of |
+// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
+// | General Public License for more details. |
+// | |
+// | You should have received a copy of the GNU General Public License |
+// | along with Hooks; if not, write to the Free Software Foundation, |
+// | Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
+// +--------------------------------------------------------------------+
+// | Creado: @@date
+// | Autor: Martin Marrese <mmarre@mecon.gov.ar>
+// +--------------------------------------------------------------------+
+//
+// $Id$
+//
--- /dev/null
+<?php
+// vim: set expandtab tabstop=4 softtabstop=4 shiftwidth=4:
+// +--------------------------------------------------------------------+
+// | Ministerio de Economía |
+// | Intranet |
+// +--------------------------------------------------------------------+
+// | This file is part of Intranet. |
+// | |
+// | Intranet is free software; you can redistribute it and/or modify |
+// | it under the terms of the GNU General Public License as published |
+// | by the Free Software Foundation; either version 2 of the License, |
+// | or (at your option) any later version. |
+// | |
+// | Intranet is distributed in the hope that it will be useful, but |
+// | WITHOUT ANY WARRANTY; without even the implied warranty of |
+// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
+// | General Public License for more details. |
+// | |
+// | You should have received a copy of the GNU General Public License |
+// | along with Hooks; if not, write to the Free Software Foundation, |
+// | Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
+// +--------------------------------------------------------------------+
+// | Creado: Tue Aug 12 14:52:37 2003
+// | Autor: Martin Marrese <mmarre@mecon.gov.ar>
+// +--------------------------------------------------------------------+
+//
+// $Id$
+//
+
+
+
+
+// +X2C Class 174 :Servicios_Agenda
+/**
+ * Clase para el manejo de la agenda en la cual se muestran la informacion de los internos de los diferentes edificios.
+ *
+ * @access public
+ */
+class Servicios_Agenda {
+ // ~X2C
+
+ // +X2C Operation 175
+ /**
+ * @param DB $db Conexiona la base de datos
+ *
+ * @return array ()
+ * @access public
+ * @static
+ */
+ function getEdificios($db) // ~X2C
+ {
+ $rta['-'] = '-';
+ $consulta = 'select cod_edificio, desc_edificio from edificios where cod_edificio <> 13 order by desc_edificio';
+ $dbh = $db->prepare($consulta);
+ $res = $db->execute($dbh);
+ while ($re = $res->fetchrow(DB_FETCHMODE_ASSOC)) {
+ $rta[$re['cod_edificio']] = $re['desc_edificio'];
+ }
+ $res->free();
+ return $rta;
+ }
+ // -X2C
+
+} // -X2C Class :Servicios_Agenda
+?>