Posts by Vyolla Bruno Sponsorship • 11 points
1 post
-
1
votes2
answers1833
viewsA: Dynamically execute model class method from an ajax request to the controller
The simplest is to call directly the model method public function requestJson($classe, $metodo, $parametros = array()) { $var = "Executando o método <i>{$metodo}</i> a classe…