Welcome Guest, Not a member yet? Register   Sign In
function exists
#1

[eluser]dbashyal[/eluser]
how can i check if function exists in CI

i did
Code:
if(function_exists($this->direction))

also,
Code:
if(function_exists('direction'))

none of them worked

on the previous one it says undefined property direction

second one returns false

i searched the forum couldn't find the solution.

i am not that much into classes, so get hard time, sometimes


Messages In This Thread
function exists - by El Forum - 06-20-2008, 01:48 AM
function exists - by El Forum - 06-20-2008, 02:13 AM
function exists - by El Forum - 06-20-2008, 02:14 AM
function exists - by El Forum - 06-20-2008, 02:28 AM



Theme © iAndrew 2016 - Forum software by © MyBB