Created
October 23, 2012 06:10
-
-
Save govaniso/3937118 to your computer and use it in GitHub Desktop.
Controlador base para crear servicios en KumbiaPHP
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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