[eluser]l1v1[/eluser]
Hi guys, so I need to get the model function name. For example:
Code:
class some_model extends CI_Model{
public function validate_contacts() {
$function_name = 'validate_contacts'; // how to do this automatic by not typing it manually?
$this->create_system_message($function_name, 'required');
$this->create_system_message($function_name, 'blablabla');
/* ... other code ... */
}
}