Pico/plugins/pico_plugin.php
Gilbert Pellegrom 2416172ba7 v0.6
[New] Added plugin functionality
[Changed] Other small cleanup
2013-05-06 16:38:38 +01:00

79 lines
No EOL
944 B
PHP

<?php
/**
* Example hooks for a Pico plugin
*
* @author Gilbert Pellegrom
* @link http://pico.dev7studios.com
* @license http://opensource.org/licenses/MIT
*/
class Pico_Plugin {
public function plugins_loaded()
{
}
public function request_url(&$url)
{
}
public function before_load_content(&$file)
{
}
public function after_load_content(&$file, &$content)
{
}
public function before_404_load_content(&$file)
{
}
public function after_404_load_content(&$file, &$content)
{
}
public function config_loaded(&$settings)
{
}
public function file_meta(&$meta)
{
}
public function content_parsed(&$content)
{
}
public function get_pages(&$pages, &$current_page, &$prev_page, &$next_page)
{
}
public function before_twig_register()
{
}
public function before_render(&$twig_vars, &$twig)
{
}
public function after_render(&$output)
{
}
}
?>