[eluser]laegnur[/eluser]
Hi
I made a file called MY_String_helper to extend the CI String_helper with the next function:
Code:
function strip_class($str)
{
$str = strtolower($str);
$str = str_replace(array("ñ", "ñ","ñ"),"nh",$str);
return $str
}
Then I load the My_Helper from the control ($this->load->helper('string')
but when I used the function in a view with data from a model, it said that the function don't exists
Code:
Fatal error: Call to undefined function strip_class()