src/model/Base/SkillGroup.php
public function getGroup(ConnectionInterface $con = null)
    {
        if ($this->aGroup === null && ($this->group_id !== null)) {
            $this->aGroup = ChildGroupQuery::create()->findPk($this->group_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->aGroup->addSkillGroups($this);
             */
        }

        return $this->aGroup;
    }
public function getGroup(ConnectionInterface $con = null)
    {
        if ($this->aGroup === null && ($this->group_id !== null)) {
            $this->aGroup = ChildGroupQuery::create()->findPk($this->group_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->aGroup->addSkillGroups($this);
             */
        }

        return $this->aGroup;
    }
public function getGroup ( ConnectionInterface $ con = null ) { if ( $ this -> aGroup === null && ( $ this -> group_id !== null ) ) { $ this -> aGroup = ChildGroupQuery :: create ( ) -> findPk ( $ this -> group_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->aGroup->addSkillGroups($this);
             */ } return $ this -> aGroup ; }
Get the associated ChildGroup object

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