src/model/Base/FunctionPhase.php
public function getSyncParent($con = null)
    {
        $parent = $this->getParentOrCreate($con);
        $parent->setType($this->getType());
        $parent->setSkillId($this->getSkillId());
        $parent->setTitle($this->getTitle());
        if ($this->getSkill() && $this->getSkill()->isNew()) {
            $parent->setSkill($this->getSkill());
        }

        return $parent;
    }
public function getSyncParent($con = null)
    {
        $parent = $this->getParentOrCreate($con);
        $parent->setType($this->getType());
        $parent->setSkillId($this->getSkillId());
        $parent->setTitle($this->getTitle());
        if ($this->getSkill() && $this->getSkill()->isNew()) {
            $parent->setSkill($this->getSkill());
        }

        return $parent;
    }
public function getSyncParent ( $ con = null ) { $ parent = $ this -> getParentOrCreate ( $ con ) ; $ parent -> setType ( $ this -> getType ( ) ) ; $ parent -> setSkillId ( $ this -> getSkillId ( ) ) ; $ parent -> setTitle ( $ this -> getTitle ( ) ) ; if ( $ this -> getSkill ( ) && $ this -> getSkill ( ) -> isNew ( ) ) { $ parent -> setSkill ( $ this -> getSkill ( ) ) ; } return $ parent ; }
Create or Update the parent StructureNode object
And return its primary key

@return    int The primary key of the parent object
Create or Update the parent StructureNode object And return its primary key