public function addPersonFunctionLink(ChildPersonFunctionLink $l)
    {
        if ($this->collPersonFunctionLinks === null) {
            $this->initPersonFunctionLinks();
            $this->collPersonFunctionLinksPartial = true;
        }

        if (!in_array($l, $this->collPersonFunctionLinks->getArrayCopy(), true)) { // only add it if the **same** object is not already associated
            $this->doAddPersonFunctionLink($l);
        }

        return $this;
    }
public function addPersonFunctionLink(ChildPersonFunctionLink $l)
    {
        if ($this->collPersonFunctionLinks === null) {
            $this->initPersonFunctionLinks();
            $this->collPersonFunctionLinksPartial = true;
        }

        if (!in_array($l, $this->collPersonFunctionLinks->getArrayCopy(), true)) { // only add it if the **same** object is not already associated
            $this->doAddPersonFunctionLink($l);
        }

        return $this;
    }
public function addPersonFunctionLink ( ChildPersonFunctionLink $ l ) { if ( $ this -> collPersonFunctionLinks === null ) { $ this -> initPersonFunctionLinks ( ) ; $ this -> collPersonFunctionLinksPartial = true ; } if ( ! in_array ( $ l , $ this -> collPersonFunctionLinks -> getArrayCopy ( ) , true ) ) { // only add it if the **same** object is not already associated $ this -> doAddPersonFunctionLink ( $ l ) ; } return $ this ; }
Method called to associate a ChildPersonFunctionLink object to this object
through the ChildPersonFunctionLink foreign key attribute.

@param    ChildPersonFunctionLink $l ChildPersonFunctionLink
@return   \Team\Model\Person The current object (for fluent API support)
Method called to associate a ChildPersonFunctionLink object to this object through the ChildPersonFunctionLink foreign key attribute .