XenForo
Administrative
- Thread starter
- Admin
- #1
Dear Friends:
I want to extend the class XF\Api\Result\EntityResult, to add some custom magic to the method render of this class.
I followed the same process I used for other classes that I'm extending.
Read more
ادامه مطلب...
I want to extend the class XF\Api\Result\EntityResult, to add some custom magic to the method render of this class.
I followed the same process I used for other classes that I'm extending.
- created php file for the extended class in my addon
- added a class extension in the dashboard with the correct source and target namespaces
- the extension_hint files and the other output files are generated correctly,
- then I implement the class, extending XFCP_EntityResult, and...
Read more
ادامه مطلب...