SilverStripe\Admin\LeftAndMain::currentPageID
Identifier for the currently shown record, in most cases a database ID. Inspects the following sources (in this order): - GET/POST parameter named 'ID' - URL parameter named 'ID' - Session value namespaced by classname, e.g. "CMSMain.currentPage"
Signature
public function currentPageID()
Returns
- int