public function __construct($id, $sessie, $data) { parent::__construct($id, $sessie); $this->initializeFields($data); }
/** * __construct * * @param integer $id * @param KVDdom_IWriteSessie $sessie * @param KVDthes_Thesaurus $thesaurus */ public function __construct($id, KVDdom_IWriteSessie $sessie, KVDthes_Thesaurus $thesaurus = null) { parent::__construct($id, $sessie); $this->matches = new KVDthes_Matches(); $this->thesaurus = $thesaurus != null ? $thesaurus : KVDthes_Thesaurus::newNull(); }