/**
  * WPML_TM_Translation_Status_Display constructor.
  *
  * @param wpdb                         $wpdb
  * @param SitePress                    $sitepress
  * @param WPML_Post_Translation        $post_translation
  * @param WPML_Post_Status             $status_helper
  * @param WPML_Translation_Job_Factory $job_factory
  * @param WPML_TM_API                  $tm_api
  */
 public function __construct(&$wpdb, &$sitepress, &$post_translation, &$status_helper, &$job_factory, &$tm_api)
 {
     parent::__construct($wpdb, $sitepress, $post_translation);
     $this->status_helper =& $status_helper;
     $this->job_factory =& $job_factory;
     $this->tm_api =& $tm_api;
 }
 /**
  * @param wpdb                  $wpdb
  * @param SitePress             $sitepress
  * @param WPML_Post_Translation $post_translations
  */
 public function __construct(&$wpdb, &$sitepress, &$post_translations)
 {
     parent::__construct($wpdb, $sitepress, $post_translations);
     add_filter('pre_term_slug', array($this, 'pre_term_slug_filter'), 10, 2);
     add_filter('wp_unique_post_slug', array($this, 'wp_unique_post_slug'), 100, 6);
 }
 /**
  * @param SitePress             $sitepress
  * @param wpdb                  $wpdb
  * @param WPML_Post_Translation $post_translations
  * @param WPML_Term_Translation $term_translations
  */
 function __construct(&$sitepress, &$wpdb, &$post_translations, &$term_translations)
 {
     parent::__construct($wpdb, $sitepress, $post_translations);
     $this->term_translations =& $term_translations;
 }