public function getStageURLSegment()
    {
        /** @var SiteTree $stageRecord */
        $stageRecord = Versioned::get_one_by_stage(self::class, Versioned::DRAFT, [
            '"SiteTree"."ID"' => $this->ID
        ]);
        return ($stageRecord) ? $stageRecord->URLSegment : null;
    }
public function getStageURLSegment()
    {
        /** @var SiteTree $stageRecord */
        $stageRecord = Versioned::get_one_by_stage(self::class, Versioned::DRAFT, [
            '"SiteTree"."ID"' => $this->ID
        ]);
        return ($stageRecord) ? $stageRecord->URLSegment : null;
    }
public function getStageURLSegment ( ) { /** @var SiteTree $stageRecord */ $ stageRecord = Versioned :: get_one_by_stage ( self :: class , Versioned :: DRAFT , [ '"SiteTree"."ID"' => $ this -> ID ] ) ; return ( $ stageRecord ) ? $ stageRecord -> URLSegment : null ; }
Gets the URL segment for the latest draft version of this page.

@return string
Gets the URL segment for the latest draft version of this page .