Add some more events to aside profile blocks and rework a bit

This commit is contained in:
Zach Copley
2011-04-08 15:45:49 -07:00
parent 8335d234f7
commit 3022d711e3
5 changed files with 79 additions and 22 deletions

View File

@@ -123,4 +123,14 @@ class GroupProfileBlock extends ProfileBlock
$this->out->elementEnd('ul');
$this->out->elementEnd('div');
}
function show()
{
$this->out->elementStart('div', 'group_profile_block section');
if (Event::handle('StartShowGroupProfileBlock', array($this->out, $this->group))) {
parent::show();
Event::handle('EndShowGroupProfileBlock', array($this->out, $this->group));
}
$this->out->elementEnd('div');
}
}