function delete($df) { parent::delete($df); //currency id $parent_type = new TemplateText(); $parent_type->name = 'parent_type'; $parent_type->delete($df); $parent_id = new TemplateId(); $parent_id->name = 'parent_id'; $parent_id->delete($df); }
function delete($df) { if (!$df->fieldExists(null, 'currency')) { parent::delete($df); } }
function delete($df) { parent::delete($df); $id = new TemplateId(); $id->name = $this->ext3; $id->delete($df); }
function delete($df) { if (!$df->fieldExists($this->name)) { parent::delete($df); } }