Sorry, AGAIN a question from me about handling and updating structure objects…
I have a a structure that holds credits (role and name) for a project.
Now I want to add a single row that is generated programmatically to this within my controller.
I thought I could use the
StructureObject constructor, as documented here, but if I use that in my controller I get an error
Class 'StructureObject' not found?
What is an easy way to add an extra row to the structure field? I don’t want to update the pages field permanently, I just want to add an extra row virtually within my page’s controller.