SilverStripe\Admin\LeftAndMain::setCurrentPageID
Forces the current page to be set in session, which can be retrieved later through {@link currentPageID()}.
Keep in mind that setting an ID through GET/POST or as a URL parameter will overrule this value.
Signature
public function setCurrentPageID(int
$id )
Parameters
$id
— int