Welcome Guest, Not a member yet? Register   Sign In
How can I use a model function in the same model
#4

[eluser]www.sblog.in[/eluser]
when you are using the function from same class and if no other class will use that function then why don't you make that private

private function get_something($id) {
//SQL bla bla . Request by id
return $result;
}


Messages In This Thread
How can I use a model function in the same model - by El Forum - 07-13-2014, 04:14 AM
How can I use a model function in the same model - by El Forum - 07-13-2014, 07:20 AM
How can I use a model function in the same model - by El Forum - 07-13-2014, 09:11 AM
How can I use a model function in the same model - by El Forum - 07-15-2014, 03:25 AM



Theme © iAndrew 2016 - Forum software by © MyBB