소스 검색

Improve class docs

Daniel Rudolf 8 년 전
부모
커밋
de74e7d867
1개의 변경된 파일4개의 추가작업 그리고 4개의 파일을 삭제
  1. 4 4
      plugins/DummyPlugin.php

+ 4 - 4
plugins/DummyPlugin.php

@@ -194,7 +194,7 @@ class DummyPlugin extends AbstractPicoPlugin
      * @see    Pico::prepareFileContent()
      * @see    DummyPlugin::prepareFileContent()
      * @see    DummyPlugin::onContentParsed()
-     * @param  string &$rawContent raw file contents
+     * @param  string &$rawContent raw file contents of the requested page
      * @return void
      */
     public function onContentParsing(&$rawContent)
@@ -207,10 +207,10 @@ class DummyPlugin extends AbstractPicoPlugin
      *
      * @see    Pico::parseFileContent()
      * @see    DummyPlugin::onContentParsed()
-     * @param  string &$content prepared file contents for parsing
+     * @param  string &$markdown Markdown contents of the requested page
      * @return void
      */
-    public function onContentPrepared(&$content)
+    public function onContentPrepared(&$markdown)
     {
         // your code
     }
@@ -219,7 +219,7 @@ class DummyPlugin extends AbstractPicoPlugin
      * Triggered after Pico has parsed the contents of the file to serve
      *
      * @see    Pico::getFileContent()
-     * @param  string &$content parsed contents
+     * @param  string &$content parsed contents (HTML) of the requested page
      * @return void
      */
     public function onContentParsed(&$content)