Daniel Rudolf
6e28a51080
Refactor onPages… and onPage… core events
...
Add new onPagesDiscovered event passing the unsorted pages array, move the $currentPage, $previousPage and $nextPage arguments from the onPagesLoaded event to the new onCurrentPageDiscovered event, remove the $twig argument from the onPageRendering event and rather trigger the new onTwigRegistered event for this. Also add the new onYamlParserRegistered and onParsedownRegistered events passing the YAML parser resp. the Parsedown instance. Allow plugin's to skip a page by setting the $id argument of the onSinglePageLoading event to NULL.
8 years ago
Daniel Rudolf
7b222b03e4
Add Pico::API_VERSION
8 years ago
Daniel Rudolf
e8e60f49e5
Update DummyPlugin
8 years ago
Daniel Rudolf
82a342ba44
Various small improvements
8 years ago
Daniel Rudolf
8f7e4da53d
Rename Pico 1.1 to Pico 2.0
9 years ago
Daniel Rudolf
94279c57f8
Improve phpDocs class docs
9 years ago
Daniel Rudolf
1c2f6a1b23
Update class docs
10 years ago
Daniel Rudolf
93f7aaad8b
Class docs: Use default markdown table format
10 years ago
Daniel Rudolf
913cf3816f
Plugins: Improve onPagesLoaded() code styling
10 years ago
Daniel Rudolf
20387e0bf9
Make DummyPlugin class final
...
Plugin developers MUST NOT extend from DummyPlugin, they SHOULD extend from AbstractPicoPlugin
10 years ago
Daniel Rudolf
840d41bca5
Improve type hinting
10 years ago
Daniel Rudolf
cd7cd374bb
Add content filter to get the parsed contents of a page (lazy loading)
10 years ago
Daniel Rudolf
afb55b9cb6
Improve class docs
10 years ago
Daniel Rudolf
e6681ea903
Improve class docs
...
Also add some ToDos to inline docs
10 years ago
Daniel Rudolf
54ce5b9699
Various small improvements
...
- Improve class docs for phpDocumentor
- Add missing onPagesLoading() event to DummyPlugin
- Add some TODOs to the UPGRADE section of the docs
10 years ago
Daniel Rudolf
a654b1585b
phpDocumentor 2.8.5 currently doesn't support the Generic notations
...
This will likely be implemented as soon as the proposed PSR-5: PHPDoc is accepted
10 years ago
Daniel Rudolf
92af554d14
Improve inline code comments; preparing use of phpDocumentor
10 years ago
Daniel Rudolf
15515ff3fd
Fix typo/formatting
10 years ago
theshka
8380b54142
fix spelling
10 years ago
Daniel Rudolf
79e2dacdb2
Fix method docs typo
10 years ago
Daniel Rudolf
71e7da28cc
Various fixes
...
Thanks @PontusHorn for spotting!
10 years ago
Daniel Rudolf
b3477906f1
Replace Pico_Plugin with DummyPlugin
...
DummyPlugin is a template for Pico plugins. You're a plugin developer? This template may be helpful :-)
10 years ago