@@ -2478,7 +2478,7 @@ |
||
2478 | 2478 | /** |
2479 | 2479 | * Carga la clase |
2480 | 2480 | * */ |
2481 | - $model = Util::smallcase($Model); |
|
2481 | + $model = Util::smallcase($Model); |
|
2482 | 2482 | $file = APP_PATH . "models/$model.php"; |
2483 | 2483 | if (is_file($file)) { |
2484 | 2484 | include $file; |
@@ -408,9 +408,9 @@ |
||
408 | 408 | * @return string |
409 | 409 | */ |
410 | 410 | public function limit($sql){ |
411 | - /** |
|
412 | - * No esta soportado por Informix |
|
413 | - */ |
|
411 | + /** |
|
412 | + * No esta soportado por Informix |
|
413 | + */ |
|
414 | 414 | return "$sql \n"; |
415 | 415 | } |
416 | 416 |
@@ -49,17 +49,17 @@ |
||
49 | 49 | * @var array |
50 | 50 | */ |
51 | 51 | protected $_fields = array('id'); |
52 | - /** |
|
53 | - * |
|
54 | - * |
|
55 | - * @var string |
|
56 | - */ |
|
52 | + /** |
|
53 | + * |
|
54 | + * |
|
55 | + * @var string |
|
56 | + */ |
|
57 | 57 | protected $_algos ; |
58 | - /** |
|
59 | - * |
|
60 | - * |
|
61 | - * @var string |
|
62 | - */ |
|
58 | + /** |
|
59 | + * |
|
60 | + * |
|
61 | + * @var string |
|
62 | + */ |
|
63 | 63 | protected $_key; |
64 | 64 | /** |
65 | 65 | * Asigna el modelo a utilizar |
@@ -114,7 +114,7 @@ discard block |
||
114 | 114 | return false; |
115 | 115 | } |
116 | 116 | if(!$obj->$ruleName($field, $param)){ |
117 | - $this->addError($param, $field, $ruleName); |
|
117 | + $this->addError($param, $field, $ruleName); |
|
118 | 118 | } |
119 | 119 | return true; |
120 | 120 | } |
@@ -126,7 +126,7 @@ discard block |
||
126 | 126 | * @param string $rule Nombre de la regla |
127 | 127 | */ |
128 | 128 | protected function addError(Array $param, $field, $rule){ |
129 | - $this->messages[$field][] = isset($param['error']) ? |
|
129 | + $this->messages[$field][] = isset($param['error']) ? |
|
130 | 130 | $param['error']: Validations::getMessage($rule); |
131 | 131 | } |
132 | 132 | |
@@ -137,7 +137,7 @@ discard block |
||
137 | 137 | * @return string |
138 | 138 | */ |
139 | 139 | protected static function getRuleName($ruleName, $param){ |
140 | - /*Evita tener que colocar un null cuando no se pasan parametros*/ |
|
140 | + /*Evita tener que colocar un null cuando no se pasan parametros*/ |
|
141 | 141 | return is_integer($ruleName) && is_string($param)?$param:$ruleName; |
142 | 142 | } |
143 | 143 |
@@ -140,17 +140,17 @@ |
||
140 | 140 | } |
141 | 141 | |
142 | 142 | /** |
143 | - * Permite Obtener el Agente de Usuario (User Agent) |
|
144 | - * @return String |
|
145 | - */ |
|
143 | + * Permite Obtener el Agente de Usuario (User Agent) |
|
144 | + * @return String |
|
145 | + */ |
|
146 | 146 | public static function userAgent(){ |
147 | 147 | return $_SERVER['HTTP_USER_AGENT']; |
148 | 148 | } |
149 | 149 | |
150 | 150 | /** |
151 | - * Permite obtene la IP del cliente, aún cuando usa proxy |
|
152 | - * @return String |
|
153 | - */ |
|
151 | + * Permite obtene la IP del cliente, aún cuando usa proxy |
|
152 | + * @return String |
|
153 | + */ |
|
154 | 154 | public static function ip(){ |
155 | 155 | if (!empty($_SERVER['HTTP_CLIENT_IP'])){ |
156 | 156 | return $_SERVER['HTTP_CLIENT_IP']; |
@@ -18,14 +18,14 @@ discard block |
||
18 | 18 | * @license http://wiki.kumbiaphp.com/Licencia New BSD License |
19 | 19 | */ |
20 | 20 | |
21 | - /** |
|
22 | - * Clase principal para el manejo de excepciones |
|
23 | - * |
|
24 | - * @category Kumbia |
|
25 | - * @package Core |
|
26 | - */ |
|
27 | - abstract class KumbiaFacade |
|
28 | - { |
|
21 | + /** |
|
22 | + * Clase principal para el manejo de excepciones |
|
23 | + * |
|
24 | + * @category Kumbia |
|
25 | + * @package Core |
|
26 | + */ |
|
27 | + abstract class KumbiaFacade |
|
28 | + { |
|
29 | 29 | protected static $providers = []; |
30 | 30 | |
31 | 31 | |
@@ -79,4 +79,4 @@ discard block |
||
79 | 79 | } |
80 | 80 | } |
81 | 81 | |
82 | - } |
|
82 | + } |
@@ -33,7 +33,7 @@ |
||
33 | 33 | $this->limit_params = false; |
34 | 34 | // Si es AJAX enviar solo el view |
35 | 35 | if (Input::isAjax()) { |
36 | - View::template(null); |
|
36 | + View::template(null); |
|
37 | 37 | } |
38 | 38 | } |
39 | 39 |