diff --git a/lib/Pico.php b/lib/Pico.php index aaa032da7e0e93d4826608395dc280bd4a65079d..a75d6ad9fb9f439021e172f1bd69c24faab32fd1 100644 --- a/lib/Pico.php +++ b/lib/Pico.php @@ -845,20 +845,20 @@ class Pico * * The page data will be an array containing the following values: *
- * +----------------+------------------------------------------+ - * | Array key | Description | - * +----------------+------------------------------------------+ - * | id | relative path to the content file | - * | url | URL to the page | - * | title | title of the page (YAML header) | - * | description | description of the page (YAML header) | - * | author | author of the page (YAML header) | - * | time | timestamp derived from the Date header | - * | date | date of the page (YAML header) | - * | date_formatted | formatted date of the page | - * | raw_content | raw, not yet parsed contents of the page | - * | meta | parsed meta data of the page) | - * +----------------+------------------------------------------+ + * +----------------+--------+------------------------------------------+ + * | Array key | Type | Description | + * +----------------+--------+------------------------------------------+ + * | id | string | relative path to the content file | + * | url | string | URL to the page | + * | title | string | title of the page (YAML header) | + * | description | string | description of the page (YAML header) | + * | author | string | author of the page (YAML header) | + * | time | string | timestamp derived from the Date header | + * | date | string | date of the page (YAML header) | + * | date_formatted | string | formatted date of the page | + * | raw_content | string | raw, not yet parsed contents of the page | + * | meta | string | parsed meta data of the page | + * +----------------+--------+------------------------------------------+ ** * @see Pico::sortPages() diff --git a/plugins/DummyPlugin.php b/plugins/DummyPlugin.php index 023e70b3f3d6fab031384f9c18de2c2e19801348..597237df48d73e3c6db1a007fe487cd738833e76 100644 --- a/plugins/DummyPlugin.php +++ b/plugins/DummyPlugin.php @@ -227,22 +227,22 @@ class DummyPlugin extends AbstractPicoPlugin /** * Triggered when Pico reads a single page from the list of all known pages * - * The $pageData variable consits of the following values: + * The `$pageData` parameter consists of the following values: *
- * +-----------------+--------+------------------------------------------+ - * | Array key | Type | Description | - * +-----------------+--------+------------------------------------------+ - * | $id | string | relative path to the content file | - * | $url | string | URL to the page | - * | $title | string | title of the page (YAML header) | - * | $description | string | description of the page (YAML header) | - * | $author | string | author of the page (YAML header) | - * | $time | string | timestamp derived from the Date header | - * | $date | string | date of the page (YAML header) | - * | $date_formatted | string | formatted date of the page | - * | $raw_content | string | raw, not yet parsed contents of the page | - * | $meta | string | parsed meta data of the page | - * +-----------------+--------+------------------------------------------+ + * +----------------+--------+------------------------------------------+ + * | Array key | Type | Description | + * +----------------+--------+------------------------------------------+ + * | id | string | relative path to the content file | + * | url | string | URL to the page | + * | title | string | title of the page (YAML header) | + * | description | string | description of the page (YAML header) | + * | author | string | author of the page (YAML header) | + * | time | string | timestamp derived from the Date header | + * | date | string | date of the page (YAML header) | + * | date_formatted | string | formatted date of the page | + * | raw_content | string | raw, not yet parsed contents of the page | + * | meta | string | parsed meta data of the page | + * +----------------+--------+------------------------------------------+ ** * @see DummyPlugin::onPagesLoaded()