Пример #1
0
 public function __construct($fields = '', $prefix = '', $suffix = '')
 {
     if (is_string($fields)) {
         $fields = array($fields);
     }
     parent::__construct(['prefix' => $prefix, 'data' => $fields, 'suffix' => $suffix]);
 }
Пример #2
0
 public function __construct($condition = array(), $prefix = '', $suffix = '')
 {
     parent::__construct(['prefix' => $prefix, 'data' => $condition, 'suffix' => $suffix]);
     //$this->_condition[] = $condition;
     $this->_uniquePrefixBindParams = uniqid();
 }
Пример #3
0
 public function __construct($values, $prefix = '', $suffix = '')
 {
     parent::__construct(['prefix' => $prefix, 'data' => $values, 'suffix' => $suffix]);
     $this->processFields();
 }
Пример #4
0
 public function __construct($values, $prefix = '', $suffix = '')
 {
     parent::__construct(['prefix' => $prefix, 'data' => $values, 'suffix' => $suffix]);
 }
Пример #5
0
 /**
  * Imposta il numero di righe da visualizzare in una query
  * $number indica da quale riga della query partire, mentre invece $page
  * indica il numero di righe.
  * Se $number = 0 e $page = 5, verranno restituite le prime 5. Se $number = 1
  * e $page = 5, verranno restituite le righe a partire dalla 2 alla 6 (6 compresa).
  * @param Int $number
  * @param Int $page
  * @param Mixed $prefix
  * @param Mixed $suffix
  */
 public function __construct($number = 0, $page = 0, $prefix = '', $suffix = '')
 {
     $data = array('number' => $number, 'page' => $page);
     parent::__construct(array('prefix' => $prefix, 'data' => $data, 'suffix' => $suffix));
 }
Пример #6
0
 public function __construct($procedure_name = '', $bind_parameters = null, $return_parameters = null, $suffix = '', $prefix = '')
 {
     parent::__construct(['prefix' => $prefix, 'data' => $procedure_name, 'suffix' => $suffix]);
     $this->_bind_params = $bind_parameters;
 }
Пример #7
0
 public function __construct($fields = array('*'), $prefix = '', $suffix = '')
 {
     parent::__construct(['prefix' => $prefix, 'data' => $fields, 'suffix' => $suffix]);
 }