17 lines
375 B
PHP
17 lines
375 B
PHP
|
<?php
|
||
|
namespace Opencart\Catalog\Model\Setting;
|
||
|
/**
|
||
|
* Class Startup
|
||
|
*
|
||
|
* @package Opencart\Catalog\Model\Setting
|
||
|
*/
|
||
|
class Startup extends \Opencart\System\Engine\Model {
|
||
|
/**
|
||
|
* @return mixed
|
||
|
*/
|
||
|
function getStartups() {
|
||
|
$query = $this->db->query("SELECT * FROM `" . DB_PREFIX . "startup` WHERE `status` = '1' ORDER BY `sort_order` ASC");
|
||
|
|
||
|
return $query->rows;
|
||
|
}
|
||
|
}
|