Add list command

This commit is contained in:
nupplaPhil
2020-02-25 22:16:27 +01:00
parent ecf7f40704
commit 2adc6a0974
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 = '';