public function __construct($id) { parent::__construct($id); $this->props = new ComponentProperties(); $this->props->linkToComponent($this); $this->postInit(); }