protected static function restGetPage($default = 1)
    {
        $page = Request::getInstance()->query('_page', $default);
        if (!is_numeric($page) || $page < 1) {
            return $default;
        }

        return (int)$page;
    }