eastside/application/models/catalog_model.php
Linus Miller cd141ef6fa Initial commit.
Former-commit-id: d2e17d67fe98124db4e87b10597af9d54d14d0de
2013-12-07 17:43:26 +01:00

10 lines
244 B
PHP

<?php
class Catalog_model extends CI_Model {
public function __construct() {
}
public function get_paintings_all() {
$query = $this->db->query('CALL paintings_get_all_active');
return $query->result_array();
}
}