src/model/Base/StructureNode.php
public function getFunctionPhase(ConnectionInterface $con = null)
    {

        if ($this->singleFunctionPhase === null && !$this->isNew()) {
            $this->singleFunctionPhase = ChildFunctionPhaseQuery::create()->findPk($this->getPrimaryKey(), $con);
        }

        return $this->singleFunctionPhase;
    }
public function getFunctionPhase(ConnectionInterface $con = null)
    {

        if ($this->singleFunctionPhase === null && !$this->isNew()) {
            $this->singleFunctionPhase = ChildFunctionPhaseQuery::create()->findPk($this->getPrimaryKey(), $con);
        }

        return $this->singleFunctionPhase;
    }
public function getFunctionPhase ( ConnectionInterface $ con = null ) { if ( $ this -> singleFunctionPhase === null && ! $ this -> isNew ( ) ) { $ this -> singleFunctionPhase = ChildFunctionPhaseQuery :: create ( ) -> findPk ( $ this -> getPrimaryKey ( ) , $ con ) ; } return $ this -> singleFunctionPhase ; }
Gets a single ChildFunctionPhase object, which is related to this object by a one-to-one relationship.

@param  ConnectionInterface $con optional connection object
@return ChildFunctionPhase
@throws PropelException
Gets a single ChildFunctionPhase object which is related to this object by a one - to - one relationship .