src/model/Base/Skill.php
public function setFeaturedPicture(ChildPicture $v = null)
    {
        if ($v === null) {
            $this->setPictureId(NULL);
        } else {
            $this->setPictureId($v->getId());
        }

        $this->aFeaturedPicture = $v;

        // Add binding for other direction of this n:n relationship.
        // If this object has already been added to the ChildPicture object, it will not be re-added.
        if ($v !== null) {
            $v->addFeaturedSkill($this);
        }


        return $this;
    }
public function setFeaturedPicture(ChildPicture $v = null)
    {
        if ($v === null) {
            $this->setPictureId(NULL);
        } else {
            $this->setPictureId($v->getId());
        }

        $this->aFeaturedPicture = $v;

        // Add binding for other direction of this n:n relationship.
        // If this object has already been added to the ChildPicture object, it will not be re-added.
        if ($v !== null) {
            $v->addFeaturedSkill($this);
        }


        return $this;
    }
public function setFeaturedPicture ( ChildPicture $ v = null ) { if ( $ v === null ) { $ this -> setPictureId ( NULL ) ; } else { $ this -> setPictureId ( $ v -> getId ( ) ) ; } $ this -> aFeaturedPicture = $ v ; // Add binding for other direction of this n:n relationship. // If this object has already been added to the ChildPicture object, it will not be re-added. if ( $ v !== null ) { $ v -> addFeaturedSkill ( $ this ) ; } return $ this ; }
Declares an association between this object and a ChildPicture object.

@param  ChildPicture $v
@return $this|\gossi\trixionary\model\Skill The current object (for fluent API support)
@throws PropelException
Declares an association between this object and a ChildPicture object .