Created
October 23, 2012 06:18
-
-
Save govaniso/3937164 to your computer and use it in GitHub Desktop.
Controlador para el servicio de productos
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 | |
Load::model("Productos"); | |
class ProductosController extends ServicesController { | |
public function getFormaciones($idPersonal) { | |
$Productos = new Productos(); | |
echo $Productos->getProductos($idPersonal)->to_json(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment