Solved thread

This post is marked as solved. If you think the information contained on this thread must be part of the official documentation, please contribute submitting a pull request to its repository.

Create my own tools class

Hi,

I want to add multiple functions in a php file. But I don't know where I should put this functions. Can I put my functions in a model Class (Tools) and use my tools class as an object without create a table in my database ? For example :

       $tools = new Tools();
       $tools->myFunction();


61.1k
Accepted
answer

As far as i understood you i think the answer here should help you out ?

http://stackoverflow.com/questions/22422312/phalcon-loading-helper-file-library



12.6k

Oh nice :) thanks a lot