<?php
namespace wcf\system\box;
use wcf\data\box\Box;
+use wcf\system\event\EventHandler;
/**
* Default implementation for box controllers.
* box content
* @var string
*/
- protected $content;
+ public $content;
/**
* supported box positions
public function getContent() {
if ($this->content === null) {
$this->content = '';
+
+ EventHandler::getInstance()->fireAction($this, 'beforeLoadContent');
+
$this->loadContent();
+
+ EventHandler::getInstance()->fireAction($this, 'afterLoadContent');
}
return $this->content;