Cheetah
ChWsbPaymentsQuery.php
Go to the documentation of this file.
1 <?php
2 
8 ch_import('ChWsbDb');
9 
11 {
12  public function __construct()
13  {
14  parent::__construct();
15  }
16 
17  public function getObjects()
18  {
19  $aObjects = $this->getAll("SELECT * FROM `sys_objects_payments` WHERE 1");
20  if(empty($aObjects) || !is_array($aObjects))
21  return array();
22 
23  return $aObjects;
24  }
25 }
ch_import
ch_import($sClassName, $aModule=array())
Definition: utils.inc.php:1218
ChWsbPaymentsQuery
Definition: ChWsbPaymentsQuery.php:11
php
ChWsbDb\getAll
getAll($sQuery, $aBindings=[], $iFetchType=PDO::FETCH_ASSOC)
Definition: ChWsbDb.php:206
ChWsbPaymentsQuery\__construct
__construct()
Definition: ChWsbPaymentsQuery.php:12
ChWsbPaymentsQuery\getObjects
getObjects()
Definition: ChWsbPaymentsQuery.php:17
empty
Attr AllowedRel this is empty
Definition: Attr.AllowedRel.txt:7
ChWsbDb
Definition: ChWsbDb.php:13