public function createdOnTemplate($parent)
{
if (($id = $this->getID()) === '') {
throw new TConfigurationException('contentplaceholder_id_required');
}
$this->getTemplateControl()->registerContentPlaceHolder($id, $this);
$parent->getControls()->add($this);
}