public function __construct(LeapExporter $exporter, ArtefactTypeResumeComposite $parentartefact, $child) { $this->originalrecord = $child; $this->entrydata = $this->record_to_entrydata($child); $this->parentartefact = $parentartefact; parent::__construct(null, $exporter); $this->assign_smarty_vars(); }
public function __construct(PluginExportLeap $exporter, array $artefacts) { parent::__construct(null, $exporter); $this->artefacts = $artefacts; $this->assign_smarty_vars(); }
public function __construct(ArtefactTypeResumeComposite $parentartefact, PluginExportLeap $exporter, $child) { $this->originalrecord = $child; $this->entrydata = $this->record_to_entrydata($child); $this->parentartefact = $parentartefact; // We pass 'null' as the artefact ID, as this class represents // composite children that aren't really artefacts. The field // 'parentartefact' holds a reference to the parent. parent::__construct(null, $exporter); $this->assign_smarty_vars(); }