src/Tao/Html/Modifiers.php
static public function strToSlug($string, $bWithSlashes = true)
	{
		switch ($GLOBALS['okt']->config->slug_type)
		{
			case 'utf8':
				return self::tidyURL($string, $bWithSlashes);

			case 'ascii':
			default:
				return self::strToLowerURL($string, $bWithSlashes);
		}
	}
static public function strToSlug($string, $bWithSlashes = true)
	{
		switch ($GLOBALS['okt']->config->slug_type)
		{
			case 'utf8':
				return self::tidyURL($string, $bWithSlashes);

			case 'ascii':
			default:
				return self::strToLowerURL($string, $bWithSlashes);
		}
	}
static public function strToSlug ( $ string , $ bWithSlashes = true ) { switch ( $ GLOBALS [ 'okt' ] -> config -> slug_type ) { case 'utf8' : return self :: tidyURL ( $ string , $ bWithSlashes ) ; case 'ascii' : default : return self :: strToLowerURL ( $ string , $ bWithSlashes ) ; } }
Transform a string in slug regarding to Okatea configuration.

@param string $string String to transform
@param boolean $bWithSlashes
in URL
@return string
Transform a string in slug regarding to Okatea configuration .