Luciano Andrade 7 лет назад
Родитель
Сommit
a4dc3f72db
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      src/FTTHBundle/Entity/Profile.php

+ 1 - 0
src/FTTHBundle/Entity/Profile.php

@@ -151,4 +151,5 @@ class Profile implements TenancyIdTraitInterface
 
     function getDownloadAsK(){return $this->units($this->getDownload(), "k"); }
     function getUploadAsK()  {return $this->units($this->getUpload()  , "k"); }
+    function getRadiusName()  {return preg_replace("|[^A-Za-z0-9]|", "-", $this->name); }
 }