source: sandbox/2.4.3-expresso-rest/negrinha/setup/setup.inc.php @ 7355

Revision 7355, 1.6 KB checked in by alexandrecorreia, 12 years ago (diff)

Ticket #3093 - Configuração dos servidores com API REST.

Line 
1<?php
2        /**************************************************************************\
3        * Expresso - Seu Novo Modulo                                               *
4        * http://www.expressolivre.org                                             *
5        * --------------------------------------------                             *
6        *  This program is free software; you can redistribute it and/or modify it *
7        *  under the terms of the GNU General Public License as published by the   *
8        *  Free Software Foundation; either version 2 of the License, or (at your  *
9        *  option) any later version.                                              *
10        \**************************************************************************/
11
12        $setup_info['rest']['name']             = 'negrinha';
13        $setup_info['rest']['title']            = 'REST API' ;
14        $setup_info['rest']['enable']           = 1;
15       
16        /* Ao incrementar versão, não esquecer de declarar função do tables_update.inc.php*/
17        $setup_info['rest']['version']          = '1.000';
18        $setup_info['rest']['app_order']        = 9;
19
20        $setup_info['rest']['tables'][]         =  'rest_access_token';
21        $setup_info['rest']['tables'][]         =  'rest_auth_code';
22        $setup_info['rest']['tables'][]         =  'rest_client';
23        $setup_info['rest']['tables'][]         =  'rest_refresh_token';
24
25        $setup_info['rest']['license']  = 'GPL';
26        $setup_info['rest']['description'] = 'Modulo de Suport a REST ExpressoLivre';   
27
28        /* The hooks this app includes, needed for hooks registration */
29        $setup_info['negrinha']['hooks'][] = 'admin';
30
31        /* Dependencies for this app to work */
32        $setup_info['negrinha']['depends']['appname'] = array(
33                 'appname' => 'phpgwapi',
34                 'versions' => Array('2.4.2')
35        );
36?>
Note: See TracBrowser for help on using the repository browser.