[RSS Feed/News] class Purchase implements \ArrayAccess -> could I extend it?

Status
Not open for further replies.

XenForo

Administrative
  • Thread starter
  • Admin
  • #1
Hello guys!
I want to extend this class:
XF\Purchasable\Purchase
(class Purchase implements \ArrayAccess)

Is that possible?
I didn't achieved it via XFCP system.

Basically I want to inject some code via an addon to change the cost (not the currency) for any purchasable item instead of extend each custom (non-xF2 default like User Upgrades) purchasable item class. Maybe on both displayable and purchaserequest cost.

ادامه مطلب...
 
Status
Not open for further replies.
Back
Top Bottom