private function SaveNew()
    {
        $treeBuilder = new TreeBuilder(new PageTreeProvider($this->site));
        $treeBuilder->Insert($this->page, $this->parent, $this->previous);
    }
private function SaveNew()
    {
        $treeBuilder = new TreeBuilder(new PageTreeProvider($this->site));
        $treeBuilder->Insert($this->page, $this->parent, $this->previous);
    }
private function SaveNew ( ) { $ treeBuilder = new TreeBuilder ( new PageTreeProvider ( $ this -> site ) ) ; $ treeBuilder -> Insert ( $ this -> page , $ this -> parent , $ this -> previous ) ; }
Takes care of page tree insertion important for a fresh page
Takes care of page tree insertion important for a fresh page