display fork domains
[phorkie.git] / src / phorkie / HtmlHelper.php
index 945c7ea25bd134cfbebb723675908780201bad51..ca5f98981be818febdd84e50286fc368161b21c2 100644 (file)
@@ -39,6 +39,16 @@ class HtmlHelper
         }
         return $html;
     }
+
+    public function getDomain($url)
+    {
+        return parse_url($url, PHP_URL_HOST);
+    }
+
+    public function fullUrl($path = '')
+    {
+        return Tools::fullUrl($path);
+    }
 }
 
 ?>