Code Coverage
 
Classes and Traits
Functions and Methods
Lines
Total
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
CRAP
0.00% covered (danger)
0.00%
0 / 1
TMessage
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
0.00% covered (danger)
0.00%
0 / 1
 __construct
0.00% covered (danger)
0.00%
0 / 1
2
0.00% covered (danger)
0.00%
0 / 1
1<?php
2/*
3 * FormDin 5 Framework
4 * Created by Reinaldo A. Barrêto Jr in 2019
5 * Based on the FormDin 4 of Luís Eugênio Barbosa
6 * https://github.com/bjverde/formDin5
7 *
8 * ----------------------------------------------------------------------------
9 * This file is part of Formdin Framework.
10 *
11 * Formdin Framework is free software; you can redistribute it and/or
12 * modify it under the terms of the GNU Lesser General Public License version 3
13 * as published by the Free Software Foundation.
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 Lesser General Public License version 3
21 * along with this program; if not,  see <http://www.gnu.org/licenses/>
22 * or write to the Free Software Foundation, Inc., 51 Franklin Street,
23 * Fifth Floor, Boston, MA  02110-1301, USA.
24 * ----------------------------------------------------------------------------
25 * Este arquivo é parte do Framework Formdin.
26 *
27 * O Framework Formdin é um software livre; você pode redistribuí-lo e/ou
28 * modificá-lo dentro dos termos da GNU LGPL versão 3 como publicada pela Fundação
29 * do Software Livre (FSF).
30 *
31 * Este programa é distribuído na esperança que possa ser útil, mas SEM NENHUMA
32 * GARANTIA; sem uma garantia implícita de ADEQUAÇÃO a qualquer MERCADO ou
33 * APLICAÇÃO EM PARTICULAR. Veja a Licença Pública Geral GNU/LGPL em português
34 * para maiores detalhes.
35 *
36 * Você deve ter recebido uma cópia da GNU LGPL versão 3, sob o título
37 * "LICENCA.txt", junto com esse programa. Se não, acesse <http://www.gnu.org/licenses/>
38 * ou escreva para a Fundação do Software Livre (FSF) Inc.,
39 * 51 Franklin St, Fifth Floor, Boston, MA 02111-1301, USA.
40 */
41
42class TMessage {
43
44    const CSS_FILE_FORM_DEFAULT_FAIL = 'Arquivo de CSS para o Padrão dos Forms não existe ou não está no formato CSS';
45    const MENU_FILE_FAIL = 'Arquivo do Menu não existe';
46
47    const FORM_MIN_VERSION_INVALID_FORMAT = 'O formato da versão não é válido, informe no formato X.Y.Z';
48    const FORM_MIN_VERSION_BLANK = 'Informe a versão minima do formDin';
49    const FORM_MIN_VERSION_NOT = ' Para esse sistema funcionar a versão mínima necessária do formDin é: ';
50    const FORM_MIN_YOU_VERSION = 'Sua versão do FormDin é : ';
51    
52    const ARRAY_EXPECTED = 'O atribruto deveria ser um array';
53    const ARRAY_KEY_NOT_EXIST = 'Não existe a chave procurada no array FormDin';
54    const ARRAY_ATTRIBUTE_NOT_EXIST = 'Não existe a atributo procurada no array FormDin';
55    
56    const DONOT_QUOTATION = 'Não use aspas simples ou duplas na pesquisa !';
57    
58    const ERROR_FIELD_ID_CANNOT_EMPTY = 'O id do campo não pode ficar em branco';
59
60    const ERROR_HTML_COLOR_HEXA = 'Informe uma cor HTML no formato hexadecimal. Exemplo #efefef !';
61
62    const ERROR_EMPTY_INPUT = 'O Parametro não pode ficar em branco';
63    const ERROR_TYPE_NOT_INT = 'Tipo não númerico! ';
64    const ERROR_TYPE_NOT_ARRAY = 'Tipo não é um array! ';
65    const ERROR_TYPE_NOT_SET = 'A variable has not been defined! ';
66    
67    const ERROR_AUTOCOMPLETE_WHITOUT_TPDO_OBJ = 'Erro na função autocomplete(). Erro: não encontra classe de config de banco';
68    const ERROR_AUTOCOMPLETE_WHITOUT_ROOT = 'A Constante ROOT_PATH com o caminho completo para o sistema, não foi definida no index.php do sistema';
69
70    public function __construct() {
71    }
72    
73}
74?>