/** * Constructor * @param bool $debugEnabled */ public function __construct($debugEnabled, Rsc_Environment $environment) { parent::__construct((bool) $debugEnabled); $config = $environment->getConfig(); $vendor = $config->get('db_prefix'); $this->table = $this->db->prefix . $vendor . 'stats'; $this->maxVisits = 10; $this->environment = $environment; }
/** * Constructor. */ public function __construct() { parent::__construct(); $this->setTable($this->db->prefix . 'rs_settings_sets'); }
/** * Constructor. */ public function __construct() { parent::__construct(); $this->setTable($this->db->prefix . 'rs_resources'); }
public function __construct() { parent::__construct(); $this->setTable($this->db->prefix . 'rs_exclude'); $this->availableEntities = array('image', 'video'); }
/** * Constructor. */ public function __construct($debugEnabled = false) { parent::__construct(); $this->debugEnabled = (bool) $debugEnabled; $this->table = $this->db->prefix . 'rs_photos_pos'; }