src/model/Base/StructureNode.php
public function getChildObject()
    {
        if (!$this->hasChildObject()) {
            return null;
        }
        $childObjectClass = $this->getDescendantClass();
        $childObject = PropelQuery::from($childObjectClass)->findPk($this->getPrimaryKey());

        return $childObject->hasChildObject() ? $childObject->getChildObject() : $childObject;
    }
public function getChildObject()
    {
        if (!$this->hasChildObject()) {
            return null;
        }
        $childObjectClass = $this->getDescendantClass();
        $childObject = PropelQuery::from($childObjectClass)->findPk($this->getPrimaryKey());

        return $childObject->hasChildObject() ? $childObject->getChildObject() : $childObject;
    }
public function getChildObject ( ) { if ( ! $ this -> hasChildObject ( ) ) { return null ; } $ childObjectClass = $ this -> getDescendantClass ( ) ; $ childObject = PropelQuery :: from ( $ childObjectClass ) -> findPk ( $ this -> getPrimaryKey ( ) ) ; return $ childObject -> hasChildObject ( ) ? $ childObject -> getChildObject ( ) : $ childObject ; }
Get the child object of this object

@return    mixed
Get the child object of this object