فهرست منبع

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)