src/model/Base/Skill.php
public function addReference(ChildReference $reference)
    {
        if ($this->collReferences === null) {
            $this->initReferences();
        }

        if (!$this->getReferences()->contains($reference)) {
            // only add it if the **same** object is not already associated
            $this->collReferences->push($reference);
            $this->doAddReference($reference);
        }

        return $this;
    }
public function addReference(ChildReference $reference)
    {
        if ($this->collReferences === null) {
            $this->initReferences();
        }

        if (!$this->getReferences()->contains($reference)) {
            // only add it if the **same** object is not already associated
            $this->collReferences->push($reference);
            $this->doAddReference($reference);
        }

        return $this;
    }
public function addReference ( ChildReference $ reference ) { if ( $ this -> collReferences === null ) { $ this -> initReferences ( ) ; } if ( ! $ this -> getReferences ( ) -> contains ( $ reference ) ) { // only add it if the **same** object is not already associated $ this -> collReferences -> push ( $ reference ) ; $ this -> doAddReference ( $ reference ) ; } return $ this ; }
Associate a ChildReference to this object
through the kk_trixionary_skill_reference cross reference table.

@param ChildReference $reference
@return ChildSkill The current object (for fluent API support)
Associate a ChildReference to this object through the kk_trixionary_skill_reference cross reference table .