src/ORM/DatabaseAdmin.php
protected function getReturnURL()
    {
        $url = $this->request->getVar('returnURL');

        // Check that this url is a site url
        if (empty($url) || !Director::is_site_url($url)) {
            return null;
        }

        // Convert to absolute URL
        return Director::absoluteURL($url, true);
    }
protected function getReturnURL()
    {
        $url = $this->request->getVar('returnURL');

        // Check that this url is a site url
        if (empty($url) || !Director::is_site_url($url)) {
            return null;
        }

        // Convert to absolute URL
        return Director::absoluteURL($url, true);
    }
protected function getReturnURL ( ) { $ url = $ this -> request -> getVar ( 'returnURL' ) ; // Check that this url is a site url if ( empty ( $ url ) || ! Director :: is_site_url ( $ url ) ) { return null ; } // Convert to absolute URL return Director :: absoluteURL ( $ url , true ) ; }
Gets the url to return to after build

@return string|null
Gets the url to return to after build