shop.balmet.com

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

event.php (252B)


      1 <?php
      2 class ModelSettingEvent extends Model {
      3 	function getEvents() {
      4 		$query = $this->db->query("SELECT * FROM `" . DB_PREFIX . "event` WHERE `trigger` LIKE 'catalog/%' AND status = '1' ORDER BY `sort_order` ASC");
      5 
      6 		return $query->rows;
      7 	}
      8 }