소스 검색

Improve class docs

Daniel Rudolf 8 년 전
부모
커밋
0b4099fdb0
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      lib/Pico.php

+ 3 - 0
lib/Pico.php

@@ -1431,6 +1431,9 @@ class Pico
     /**
      * 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  array|string $queryData either an array containing properties to
      *     create a URL-encoded query string from, or a already encoded string