Jump to content

Add Variables From Functions Using a Class


unemployment

Recommended Posts

I think I need to use $this, but I need to be able to add the two values returned from both of my functions.  How would I do that?

 

public function get_users_edge($uid)
{
$users_primary->get_users_primary_edge($uid);
$users_dynamic->get_users_dynamic_edge($uid);

echo $users_primary + $users_dynamic;
}

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.