Parcourir la source

Improve class docs

Daniel Rudolf il y a 8 ans
Parent
commit
0b4099fdb0
1 fichiers modifiés avec 3 ajouts et 0 suppressions
  1. 3 0
      lib/Pico.php

+ 3 - 0
lib/Pico.php

@@ -1431,6 +1431,9 @@ class Pico
     /**
     /**
      * Returns the URL to a given page
      * Returns the URL to a given page
      *
      *
+     * This method can be used in Twig templates by applying the `link` filter
+     * to a string representing a page identifier.
+     *
      * @param  string       $page      identifier of the page to link to
      * @param  string       $page      identifier of the page to link to
      * @param  array|string $queryData either an array containing properties to
      * @param  array|string $queryData either an array containing properties to
      *     create a URL-encoded query string from, or a already encoded string
      *     create a URL-encoded query string from, or a already encoded string