function SJB_TransactionSearcher(SJB_TransactionHistoryPagination $paginator) { $innerJoin = false; if ($paginator->sortingField == 'username') { $innerJoin = array('users' => array('sort_field' => 'username', 'join_field' => 'sid', 'join_field2' => 'user_sid', 'main_table' => 'transactions', 'join' => 'LEFT JOIN')); } $this->infoSearcher = new SJB_TransactionInfoSearcher(array('limit' => ($paginator->currentPage - 1) * $paginator->itemsPerPage, 'num_rows' => $paginator->itemsPerPage), $paginator->sortingField, $paginator->sortingOrder, $innerJoin); parent::__construct($this->infoSearcher, new SJB_TransactionManager()); }
function SJB_EmailLogSearcher($limit = false, $sorting_field = false, $sorting_order = false) { $this->infoSearcher = new SJB_EmailLogInfoSearcher($limit, $sorting_field, $sorting_order); parent::__construct($this->infoSearcher, new SJB_EmailLogManager()); }
public function __construct($limit = false, $sorting_field = false, $sorting_order = false, $inner_join = false) { $this->infoSearcher = new SJB_InvoiceInfoSearcher($limit, $sorting_field, $sorting_order, $inner_join); parent::__construct($this->infoSearcher, new SJB_InvoiceManager()); }
public function __construct() { parent::__construct(new SJB_ObjectInfoSearcher('listings'), new SJB_ListingManager()); }
public function __construct($limit = false, $sorting_field = false, $sorting_order = false, $inner_join = false, $limitByPHP = false) { $this->infoSearcher = new SJB_UserInfoSearcher($limit, $sorting_field, $sorting_order, $inner_join, $limitByPHP); parent::__construct($this->infoSearcher, new SJB_UserManager()); }
public function __construct($limit = false, $sorting_field = false, $sorting_order = false) { $this->infoSearcher = new SJB_GuestAlertInfoSearcher($limit, $sorting_field, $sorting_order); parent::__construct($this->infoSearcher, new SJB_GuestAlertManager()); }
function SJB_PaymentLogSearcher($current_page, $items_per_page, $sorting_field = false, $sorting_order = false) { $this->infoSearcher = new SJB_PaymentLogInfoSearcher($current_page, $items_per_page, $sorting_field, $sorting_order); parent::__construct($this->infoSearcher, new SJB_PaymentLogManager()); }