Embed Notice
HTML Code
Corresponding Notice
- Embed this notice@hypolite I thought that the "entity" only contains the class variables?
What I want to do is to create constants for the status. So they are "entity-related", I guess.
Also I want to create functions like "setDismissed" (and similar) to update the status. Also some "getOpenReports" that should return an array of reports. Concerning the returned data, I also want to return an enhanced set of data. Means: I don't only want to return the contact id of the reported contact and the uri-id of the posts, but also all needed contact related data (nick, name, url, avatar, ...) and the post related data (like title, body, creation date, ...). For this I want to create some view that then has to be called inside of that class.