Welcome Guest, Not a member yet? Register   Sign In
run two queries one return
#2

[eluser]libnac[/eluser]
Hi,
you can use the methods you want of a model.

class MyModel extends Model
{
..
function f1() {
return "Hello";
}
function f2() {
return " World !";
}
function f3{} {
return array("result1" => $this->f1(), "result2" => $this->f2());
}


}

I hope this helps you.


Messages In This Thread
run two queries one return - by El Forum - 09-23-2009, 03:11 AM
run two queries one return - by El Forum - 09-23-2009, 04:10 AM
run two queries one return - by El Forum - 09-23-2009, 04:40 AM
run two queries one return - by El Forum - 09-23-2009, 06:04 AM
run two queries one return - by El Forum - 09-23-2009, 06:19 AM
run two queries one return - by El Forum - 09-23-2009, 06:35 AM
run two queries one return - by El Forum - 09-23-2009, 07:57 AM
run two queries one return - by El Forum - 09-23-2009, 08:47 AM
run two queries one return - by El Forum - 09-23-2009, 08:53 AM
run two queries one return - by El Forum - 09-24-2009, 04:18 AM



Theme © iAndrew 2016 - Forum software by © MyBB