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

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

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

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

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

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