Add list command

This commit is contained in:
nupplaPhil 2020-02-25 22:16:27 +01:00
parent ecf7f40704
commit 2adc6a0974
No known key found for this signature in database
GPG key ID: D8365C3D36B77D90
5 changed files with 95 additions and 17 deletions

View file

@ -30,10 +30,13 @@ use Friendica\Util\Strings;
*/
class Pager
{
/** @var int Default count of items per page */
const ITEMS_PER_PAGE = 50;
/** @var integer */
private $page = 1;
/** @var integer */
protected $itemsPerPage = 50;
protected $itemsPerPage = self::ITEMS_PER_PAGE;
/** @var string */
protected $baseQueryString = '';