看板初始化提交

This commit is contained in:
zephyr
2026-06-01 21:23:12 -07:00
commit 54a842f4ab
2104 changed files with 241695 additions and 0 deletions
+32
View File
@@ -0,0 +1,32 @@
<?php
namespace Kanboard\Pagination;
use Kanboard\Core\Base;
use Kanboard\Core\Paginator;
use Kanboard\Model\UserModel;
/**
* Class UserPagination
*
* @package Kanboard\Pagination
* @author Frederic Guillot
*/
class UserPagination extends Base
{
/**
* Get user listing pagination
*
* @access public
* @return Paginator
*/
public function getListingPaginator()
{
return $this->paginator
->setUrl('UserListController', 'show')
->setMax(30)
->setOrder(UserModel::TABLE.'.username')
->setQuery($this->userModel->getQuery())
->calculate();
}
}