public static function pageGet(string $name, $defaultValue = null, ?string $page = null)
    {
        if ($page === null) {
            $page = $_SERVER['PHP_SELF'];
        }
        return self::get($name, $defaultValue, $page);
    }
public static function pageGet(string $name, $defaultValue = null, ?string $page = null)
    {
        if ($page === null) {
            $page = $_SERVER['PHP_SELF'];
        }
        return self::get($name, $defaultValue, $page);
    }
public static function pageGet ( string $ name , $ defaultValue = null , ? string $ page = null ) { if ( $ page === null ) { $ page = $ _SERVER [ 'PHP_SELF' ] ; } return self :: get ( $ name , $ defaultValue , $ page ) ; }
Get session-variable by page-filename.

@param string $name
@param mixed $defaultValue Default null.
@param string $page Default null which means current page PHP_SELF.
@return mixed
Get session - variable by page - filename .