We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Category model and api channel categories

Development and Programming

Eric Barnes's avatar
Eric Barnes
487 posts
15 years ago
Eric Barnes's avatar Eric Barnes

I am in the process of building a module and I noticed that the category model and api channel categories essentially have the same methods “category_tree” for getting out a list of categories. I wanted to ask if one is preferred over the other? From my research I do not see the model used any and wouldn’t want to use it if it is going to deprecated.

       
Derek Allard's avatar
Derek Allard
3,168 posts
15 years ago
Derek Allard's avatar Derek Allard

Yeah, if there’s duplicated code, run with the API Eric. It’s pretty solid for development.

Can’t wait to see what you build!

       
BlueSkies's avatar
BlueSkies
20 posts
15 years ago
BlueSkies's avatar BlueSkies
Can’t wait to see what you build!

Absolutely .. Go Eric

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.