1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Overriding class's function

Discussion in 'XenForo Development Discussions' started by Arty, Jun 11, 2012.

  1. Arty

    Arty Well-Known Member

    I want to change way XenForo_Model_UserUpgrade::getUserUpgradesForPurchaseList() behaves. What's the correct approach to overriding that function in addon?

    edit: never mind, found a tutorial.
  2. guiltar

    guiltar Well-Known Member

    Main thing is to return parent always.

Share This Page