/**
  * @param $language String
  * @param $existing_filter WPML_Displayed_String_Filter
  */
 public function __construct($language, $existing_filter)
 {
     parent::__construct($language);
     if ($existing_filter) {
         $existing_cache = $existing_filter->export_cache();
         $this->cache = isset($existing_cache['cache']) ? $existing_cache['cache'] : array();
         $this->name_cache = isset($existing_cache['name_cache']) ? $existing_cache['cache'] : array();
     }
 }
 /**
  * @param string $language
  * @param bool $use_original_cache
  * @param WPML_Displayed_String_Filter $existing_filter
  */
 public function __construct($language, $use_original_cache, $existing_filter)
 {
     parent::__construct($language, $use_original_cache);
     if ($existing_filter) {
         $existing_cache = $existing_filter->export_cache();
         $this->use_original_cache = isset($existing_cache['use_original_cache']) ? $existing_cache['use_original_cache'] : false;
         $this->original_cache = isset($existing_cache['original_cache']) ? $existing_cache['original_cache'] : array();
         $this->name_cache = isset($existing_cache['name_cache']) ? $existing_cache['name_cache'] : array();
     }
 }
 /**
  * @param wpdb                         $wpdb
  * @param SitePress                    $sitepress
  * @param string                       $language
  * @param WPML_ST_String_Factory       $string_factory
  * @param WPML_Displayed_String_Filter $existing_filter
  */
 public function __construct(&$wpdb, &$sitepress, $language, &$string_factory, $existing_filter = null)
 {
     parent::__construct($wpdb, $sitepress, $language, $existing_filter);
     $this->string_factory =& $string_factory;
 }
 /**
  * @param wpdb                         $wpdb
  * @param SitePress                    $sitepress
  * @param string                       $language
  * @param WPML_Displayed_String_Filter $existing_filter
  */
 public function __construct(&$wpdb, &$sitepress, $language, $existing_filter)
 {
     parent::__construct($wpdb, $sitepress, $language, $existing_filter);
 }