public function filter($value) { URLify::$remove_list = array(); $value = URLify::filter($value, 60, 'de'); $value = str_replace('-', '_', $value); return $value; }
/** * Append words to the remove list. Accepts either single words * or an array of words. */ public static function remove_words($words) { $words = is_array($words) ? $words : array($words); self::$remove_list = array_merge(self::$remove_list, $words); }
public function filter($value) { URLify::$remove_list = array(); return URLify::filter($value, 60, 'de'); }