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

OOP Question

Development and Programming

ryal001's avatar
ryal001
42 posts
16 years ago
ryal001's avatar ryal001

I see that a module file is basically one class. Is there any way to refer to other classes or do you have to cover everything you want your module to do with only one class?

       
gridonic's avatar
gridonic
231 posts
16 years ago
gridonic's avatar gridonic

You can always include / require other files, or in OOP terminology classes / objects that you use in your module file to build a model. Afaik, you can also reference other modules.

       
ryal001's avatar
ryal001
42 posts
16 years ago
ryal001's avatar ryal001

Thanks, starting to figure it out now. I also found that I can add other classes to the module file and access them via composition.

       

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.