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

update file (up.*) purpose of the tabs() function?

Development and Programming

onewed's avatar
onewed
13 posts
14 years ago
onewed's avatar onewed

When developing a module what is the purpose of the tabs() function in the upd.* file?

       
Focus Lab Dev Team's avatar
Focus Lab Dev Team
1,129 posts
14 years ago
Focus Lab Dev Team's avatar Focus Lab Dev Team

It’s used when a module requires a publish form Tab for certain settings / fields. The use of the module->tabs() method is just to extract the tab(s) setup for easier reading when using $this->EE->layout->add_layout_tabs() during a module installation. Technically the method is not required as far as I can tell.

       

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.