HOR-4075
Define Interface for List classes. Implement a trait base for the lists. Fix sort by current user at Review and Reassign lists.
This commit is contained in:
@@ -15,8 +15,10 @@ require_once 'classes/model/om/BaseListMyInbox.php';
|
||||
* @package classes.model
|
||||
*/
|
||||
// @codingStandardsIgnoreStart
|
||||
class ListMyInbox extends BaseListMyInbox
|
||||
class ListMyInbox extends BaseListMyInbox implements ListInterface
|
||||
{
|
||||
use ListBaseTrait;
|
||||
|
||||
// @codingStandardsIgnoreEnd
|
||||
/**
|
||||
* Create List My Inbox Table
|
||||
@@ -248,7 +250,7 @@ class ListMyInbox extends BaseListMyInbox
|
||||
}
|
||||
}
|
||||
|
||||
public function loadList($usr_uid, $filters = array(), $callbackRecord = null)
|
||||
public function loadList($usr_uid, $filters = array(), callable $callbackRecord = null)
|
||||
{
|
||||
$criteria = new Criteria();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user