encodeUrl() публичный статический Метод

Encode the domain in an URL
public static encodeUrl ( string $strUrl ) : string
$strUrl string The URL
Результат string The encoded URL
Пример #1
0
 /**
  * Encode the domain in an URL
  *
  * @param string $strUrl The URL
  *
  * @return string The encoded URL
  *
  * @deprecated Deprecated since Contao 4.0, to be removed in Contao 5.0.
  *             Use Idna::encodeUrl() instead.
  */
 protected function idnaEncodeUrl($strUrl)
 {
     @trigger_error('Using System::idnaEncodeUrl() has been deprecated and will no longer work in Contao 5.0. Use Idna::encodeUrl() instead.', E_USER_DEPRECATED);
     return \Idna::encodeUrl($strUrl);
 }