/**
  * @param wpdb $wpdb
  */
 public function __construct(&$wpdb)
 {
     parent::__construct($wpdb);
     add_filter('wpml_translation_jobs', array($this, 'get_translation_jobs_filter'), 10, 2);
     add_filter('wpml_translation_job_types', array($this, 'get_translation_job_types_filter'), 10, 2);
     add_filter('wpml_get_translation_job', array($this, 'get_translation_job_filter'), 10, 3);
 }
 /**
  * @param wpdb  $wpdb
  * @param array $icl_translation_filter
  */
 public function __construct(&$wpdb, $icl_translation_filter)
 {
     parent::__construct($wpdb);
     $this->filter = $icl_translation_filter;
 }
 /**
  * @param wpdb $wpdb
  * @param int  $batch_id
  */
 public function __construct(&$wpdb, $batch_id = 0)
 {
     parent::__construct($wpdb);
     $this->id = $batch_id > 0 ? $batch_id : $this->retrieve_generic_batch_id();
     $this->name = $batch_id <= 0 ? $this->generate_generic_batch_name() : false;
 }
 /**
  * @param WPML_TM_Records $tm_records
  */
 public function __construct(&$tm_records)
 {
     $wpdb = $tm_records->wpdb();
     parent::__construct($wpdb);
     $this->tm_records =& $tm_records;
 }