Welcome Guest, Not a member yet? Register   Sign In
Automatic insertion of UUID into legacy database
#6

(This post was last modified: 12-13-2021, 02:13 AM by InsiteFX. Edit Reason: Speeling Error )

You can chain it by returning $this instead of returning a value you return the object.

PHP Code:
public function getUUID()
{
    // your code here.


    // return $this for method chaining.
    return $this;


Let us know how you make out on this.
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply


Messages In This Thread
RE: Automatic insertion of UUID into legacy database - by InsiteFX - 12-13-2021, 02:13 AM



Theme © iAndrew 2016 - Forum software by © MyBB