Welcome Guest, Not a member yet? Register   Sign In
Can't call a function in view file
#1

[eluser]Isos[/eluser]
Hello .. I am receiving a fatal error and I understand that there is something to be done to avoid it, it's when I created a function inside the file's class in controller called __get_time_difference() and called it only inside the view file:

Fatal error: Call to undefined method CI_Loader::__get_time_difference() in /Natalisushka/srv/www/UnderConstruction/client-core.com/kernel/application/views/CustomWritings/orders_view.php

How can I define method CI_Loader::__get_time_difference() ?

Thanks


Messages In This Thread
Can't call a function in view file - by El Forum - 01-05-2008, 07:49 AM
Can't call a function in view file - by El Forum - 01-05-2008, 08:52 AM
Can't call a function in view file - by El Forum - 01-05-2008, 09:14 AM



Theme © iAndrew 2016 - Forum software by © MyBB