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

Extending/Overriding EE libraries that Extend CI libraries

Development and Programming

IOS Admin's avatar
IOS Admin
33 posts
14 years ago
IOS Admin's avatar IOS Admin

I need to extend the base CI email library. How do I do that when EE is already extending it with EE_email.php without editing EE_mail.php? Can EE_email.php be extended with another file in such a way that any calls to CI->email run the code in my extension?

Specifically I want to override the clean_email function in CI.

       
Brian M.'s avatar
Brian M.
529 posts
14 years ago
Brian M.'s avatar Brian M.

iOS Admin, did you ever have any luck doing this? I’m looking to extend a class and would really benefit from some examples (I don’t have a lot of MVC experience so am not sure exactly what I’m doing).

Thanks!

       
IOS Admin's avatar
IOS Admin
33 posts
14 years ago
IOS Admin's avatar IOS Admin

No luck. I ended up making changes directly to EE_mail.php.

That means I have to remember to re-apply the changes on upgrade of EE. :(

       

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.