I am developing a SilverStripe project. Now I am trying to get the Page object by ID in the controller like this.
$currentPage = Page::get()->byID($this->ID);
Also, I want to all the parents/parent of the $currentPage too. But I cannot find related columns in the database table for Page like parent_page_id or whatsoever. How can I get all the parent pages of Page data object?