@@ -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 |
@@ -17,7 +17,7 @@ |
||
17 | 17 | $this->begin(); |
18 | 18 | if ($this->create($data)) { |
19 | 19 | //Intenta actualizar la foto |
20 | - if($this->updatePhoto()){ |
|
20 | + if ($this->updatePhoto()) { |
|
21 | 21 | //Se confirma la transacción |
22 | 22 | $this->commit(); |
23 | 23 | return true; |
@@ -19,7 +19,7 @@ |
||
19 | 19 | |
20 | 20 | final protected function initialize() |
21 | 21 | { |
22 | - session_start();//Para mostrar los mensajes Flash luego de un redirect |
|
22 | + session_start(); //Para mostrar los mensajes Flash luego de un redirect |
|
23 | 23 | } |
24 | 24 | |
25 | 25 | final protected function finalize() |