hi, I have any controllers with some functions
I need function _bar use in other controllers. Now I useing this function _bar repeat everytime in other controllers.
How not to write one and the same function all the time?
PHP Code:
class Foo extends CI_Controller
{
private function _bar() {
// something
}
}
How not to write one and the same function all the time?