コード例 #1
0
 /**
  * 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;
 }
コード例 #2
0
 /**
  * Constructor.
  */
 public function __construct()
 {
     parent::__construct();
     $this->setTable($this->db->prefix . 'rs_settings_sets');
 }
コード例 #3
0
 /**
  * Constructor.
  */
 public function __construct()
 {
     parent::__construct();
     $this->setTable($this->db->prefix . 'rs_resources');
 }
コード例 #4
0
 public function __construct()
 {
     parent::__construct();
     $this->setTable($this->db->prefix . 'rs_exclude');
     $this->availableEntities = array('image', 'video');
 }
コード例 #5
0
 /**
  * Constructor.
  */
 public function __construct($debugEnabled = false)
 {
     parent::__construct();
     $this->debugEnabled = (bool) $debugEnabled;
     $this->table = $this->db->prefix . 'rs_photos_pos';
 }