Пример #1
0
 public function loadPage()
 {
     $table = new DrydockLease();
     $conn_r = $table->establishConnection('r');
     $data = queryfx_all($conn_r, 'SELECT lease.* FROM %T lease %Q %Q %Q', $table->getTableName(), $this->buildWhereClause($conn_r), $this->buildOrderClause($conn_r), $this->buildLimitClause($conn_r));
     return $table->loadAllFromArray($data);
 }