XF 2.0 New custom entity handling

_PkZ_

Active member
I have defined a new entity in my addon.
I have created the db-table and definded getStructure.
Now i am wondering how to use that entity... i mean how to create a new one, set values and then save it into the database.

If i am trying to `new` it i need an entitymanager but doenst have one (afaik).

Suggestions are welcome :)
 
Back
Top Bottom