Pico/plugins/pico_plugin.php
Gilbert Pellegrom aa59661ff8 v0.8
Added ability to set template in content meta
2013-10-23 10:39:23 +01:00

94 lines
No EOL
1.1 KiB
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 config_loaded(&$settings)
{
}
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 before_read_file_meta(&$headers)
{
}
public function file_meta(&$meta)
{
}
public function before_parse_content(&$content)
{
}
public function after_parse_content(&$content)
{
}
public function get_page_data(&$data, $page_meta)
{
}
public function get_pages(&$pages, &$current_page, &$prev_page, &$next_page)
{
}
public function before_twig_register()
{
}
public function before_render(&$twig_vars, &$twig, &$template)
{
}
public function after_render(&$output)
{
}
}
?>