source: sipes/0.3-modules/ente_planificador_importar/ente_planificador_importar.install @ dba7f09

stableversion-3.0
Last change on this file since dba7f09 was 5bee648, checked in by lhernandez <lhernandez@…>, 8 años ago

se agrego el modulo para importar los entes planificadores

  • Propiedad mode establecida a 100644
File size: 1.6 KB
Línea 
1<?php
2
3  /**
4  * Modulo para importar entes y terminos (instalador)
5  * Sistema Automatizado para la Planificación Estratégico-Situacional en la Administración Pública Venezolana
6  * @file ente_planificador_importar.install
7  * Drupal part Module to code ente planificador module
8  * Copyright 2011 Sistema Automatizado para la Planificación Estratégico-Situacional en la Administración Pública Venezolana (CENDITEL)
9  *
10  * This program is free software; you can redistribute it and/or modify
11  * it under the terms of the GNU General Public License as published by
12  * the Free Software Foundation; either version 2 of the License, or
13  * (at your option) any later version.
14  *
15  * This program is distributed in the hope that it will be useful,
16  * but WITHOUT ANY WARRANTY; without even the implied warranty of
17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18  * GNU General Public License for more details.
19  *
20  * You should have received a copy of the GNU General Public License
21  * along with this program; if not, write to the Free Software
22  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
23  *
24  * @author Cenditel Merida - Msc. Juan Vizcarrondo
25  * @date 2016-07-07 // (a&#241;o-mes-dia)
26  * @version 0.2 // (0.1)
27  *
28  */
29/*
30 * Implementation of hook_install
31 */
32function ente_planificador_importar_install() {
33  db_add_field($ret, 'ente_planificador_hierarchical', 'acronimo', array('type' => 'varchar','size' => '255', 'default' => '',));
34}
35
36/*
37 * Implementation of hook_uninstall
38 */
39function ente_planificador_importar_uninstall() {
40  db_drop_field($ret, 'ente_planificador_hierarchical', 'acronimo');
41}
Nota: Vea TracBrowser para ayuda de uso del navegador del repositorio.