src/model/Base/Skill.php
public function getFeaturedPicture(ConnectionInterface $con = null)
    {
        if ($this->aFeaturedPicture === null && ($this->picture_id !== null)) {
            $this->aFeaturedPicture = ChildPictureQuery::create()->findPk($this->picture_id, $con);
            /* The following can be used additionally to
                guarantee the related object contains a reference
                to this object.  This level of coupling may, however, be
                undesirable since it could result in an only partially populated collection
                in the referenced object.
                $this->aFeaturedPicture->addFeaturedSkills($this);
             */
        }

        return $this->aFeaturedPicture;
    }
public function getFeaturedPicture(ConnectionInterface $con = null)
    {
        if ($this->aFeaturedPicture === null && ($this->picture_id !== null)) {
            $this->aFeaturedPicture = ChildPictureQuery::create()->findPk($this->picture_id, $con);
            /* The following can be used additionally to
                guarantee the related object contains a reference
                to this object.  This level of coupling may, however, be
                undesirable since it could result in an only partially populated collection
                in the referenced object.
                $this->aFeaturedPicture->addFeaturedSkills($this);
             */
        }

        return $this->aFeaturedPicture;
    }
public function getFeaturedPicture ( ConnectionInterface $ con = null ) { if ( $ this -> aFeaturedPicture === null && ( $ this -> picture_id !== null ) ) { $ this -> aFeaturedPicture = ChildPictureQuery :: create ( ) -> findPk ( $ this -> picture_id , $ con ) ; /* The following can be used additionally to
                guarantee the related object contains a reference
                to this object.  This level of coupling may, however, be
                undesirable since it could result in an only partially populated collection
                in the referenced object.
                $this->aFeaturedPicture->addFeaturedSkills($this);
             */ } return $ this -> aFeaturedPicture ; }
Get the associated ChildPicture object

@param  ConnectionInterface $con Optional Connection object.
@return ChildPicture The associated ChildPicture object.
@throws PropelException
Get the associated ChildPicture object