Skip to content

Instantly share code, notes, and snippets.

@govaniso
Created October 23, 2012 06:10
Show Gist options
  • Save govaniso/3937118 to your computer and use it in GitHub Desktop.
Save govaniso/3937118 to your computer and use it in GitHub Desktop.
Controlador base para crear servicios en KumbiaPHP
<?php
/**
* Todas las controladores heredan de esta clase en un nivel superior
* por lo tanto los metodos aqui definidos estan disponibles para
* cualquier controlador.
*
* @category Kumbia
* @package Controller
* */
// @see Controller nuevo controller
require_once CORE_PATH . 'kumbia/controller.php';
class ServicesController extends Controller {
public function after_filter() {
View::select(null, null);
header("Content-type: application/json");
}
final protected function initialize() {
}
final protected function finalize() {
}
}
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment