public function createdOnTemplate($parent) { if (($id = $this->getID()) === '') { throw new TConfigurationException('content_id_required'); } $this->getTemplateControl()->registerContent($id, $this); }