Esempio n. 1
0
 protected function loadPage()
 {
     $table = new PholioImage();
     $conn_r = $table->establishConnection('r');
     $data = queryfx_all($conn_r, 'SELECT * FROM %T %Q %Q %Q', $table->getTableName(), $this->buildWhereClause($conn_r), $this->buildOrderClause($conn_r), $this->buildLimitClause($conn_r));
     $images = $table->loadAllFromArray($data);
     return $images;
 }