@@ -126,7 +126,7 @@ discard block |
||
126 | 126 | * @param string $class |
127 | 127 | * @param string|array $attrs |
128 | 128 | */ |
129 | - public static function dbSelect($field, $show, $data, $update, $action, $blank=null, $class = '', $attrs = '') |
|
129 | + public static function dbSelect($field, $show, $data, $update, $action, $blank = null, $class = '', $attrs = '') |
|
130 | 130 | { |
131 | 131 | $attrs = Tag::getAttrs($attrs); |
132 | 132 | // ruta a la accion |
@@ -148,7 +148,7 @@ discard block |
||
148 | 148 | */ |
149 | 149 | public static function form($update, $action = '', $class = '', $method = 'post', $attrs = '') |
150 | 150 | { |
151 | - $attrs = "class=\"js-remote $class\" data-to=\"$update\" ".Tag::getAttrs($attrs); |
|
151 | + $attrs = "class=\"js-remote $class\" data-to=\"$update\" " . Tag::getAttrs($attrs); |
|
152 | 152 | return Form::open($action, $method, $attrs); |
153 | 153 | } |
154 | 154 |
@@ -13,7 +13,7 @@ |
||
13 | 13 | /** @var string Nombre del modelo en CamelCase */ |
14 | 14 | public $model = ''; |
15 | 15 | |
16 | - public function index($page=1) |
|
16 | + public function index($page = 1) |
|
17 | 17 | { |
18 | 18 | $this->data = (new $this->model)->paginate("page: $page", 'order: id desc'); |
19 | 19 | } |
@@ -2,7 +2,7 @@ |
||
2 | 2 | /** |
3 | 3 | * @see KumbiaActiveRecord |
4 | 4 | */ |
5 | -require_once CORE_PATH.'libs/kumbia_active_record/kumbia_active_record.php'; |
|
5 | +require_once CORE_PATH . 'libs/kumbia_active_record/kumbia_active_record.php'; |
|
6 | 6 | |
7 | 7 | /** |
8 | 8 | * ActiveRecord |
@@ -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 |