Handle null data return in HTMLForm
[lhc/web/wiklou.git] / includes / LinkTarget.php
index 175a839..8246f7d 100644 (file)
@@ -21,6 +21,13 @@ interface LinkTarget {
         */
        public function getFragment();
 
+       /**
+        * Whether the link target has a fragment
+        *
+        * @return bool
+        */
+       public function hasFragment();
+
        /**
         * Get the main part with underscores.
         *