PluginHooks:StartShowHTML
From StatusNet
Contents |
[edit] Description
[edit] Arguments
1: PublicAction
[edit] Related Code
File: lib/action.php (line 96)
...
*
* @return nothing
*/
function showPage()
{
if (Event::handle('StartShowHTML', array($this))) {
$this->startHTML();
Event::handle('EndShowHTML', array($this));
}
if (Event::handle('StartShowHead', array($this))) {
$this->showHead();
...
[edit] Examples
class ExamplePlugin extends Plugin {
public function onStartShowHTML ($publicaction) {
//do something
}
}