src/model/Base/StructureNode.php
public function setKstruktur(ChildKstruktur $v = null)
    {
        $this->singleKstruktur = $v;

        // Make sure that that the passed-in ChildKstruktur isn't already associated with this object
        if ($v !== null && $v->getStructureNode(null, false) === null) {
            $v->setStructureNode($this);
        }

        return $this;
    }
public function setKstruktur(ChildKstruktur $v = null)
    {
        $this->singleKstruktur = $v;

        // Make sure that that the passed-in ChildKstruktur isn't already associated with this object
        if ($v !== null && $v->getStructureNode(null, false) === null) {
            $v->setStructureNode($this);
        }

        return $this;
    }
public function setKstruktur ( ChildKstruktur $ v = null ) { $ this -> singleKstruktur = $ v ; // Make sure that that the passed-in ChildKstruktur isn't already associated with this object if ( $ v !== null && $ v -> getStructureNode ( null , false ) === null ) { $ v -> setStructureNode ( $ this ) ; } return $ this ; }
Sets a single ChildKstruktur object as related to this object by a one-to-one relationship.

@param  ChildKstruktur $v ChildKstruktur
@return $this|\gossi\trixionary\model\StructureNode The current object (for fluent API support)
@throws PropelException
Sets a single ChildKstruktur object as related to this object by a one - to - one relationship .