To create a global modal function that can be used by all models in CakePHP you create a function in the AppModel.php file. This function can be accessed within any model.
Model1->myFunction(); Model2->myFunction(); Model3->myFunction();
How do I go about doing this with Phalcon?
Thanks, Gene