Ejemplo n.º 1
0
 public function filter($value)
 {
     URLify::$remove_list = array();
     $value = URLify::filter($value, 60, 'de');
     $value = str_replace('-', '_', $value);
     return $value;
 }
Ejemplo n.º 2
0
 /**
  * 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);
 }
Ejemplo n.º 3
0
 public function filter($value)
 {
     URLify::$remove_list = array();
     return URLify::filter($value, 60, 'de');
 }