Beispiel #1
0
 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());
 }
Beispiel #2
0
 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());
 }
Beispiel #3
0
 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());
 }
Beispiel #4
0
 public function __construct()
 {
     parent::__construct(new SJB_ObjectInfoSearcher('listings'), new SJB_ListingManager());
 }
Beispiel #5
0
 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());
 }
Beispiel #6
0
 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());
 }
Beispiel #7
0
 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());
 }