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

Dynamic Fetch Params

Development and Programming

blendimc's avatar
blendimc
150 posts
about 15 years ago
blendimc's avatar blendimc

I have a plugin Idea that would allow for any type of input for parameters aka {exp:plugin name="Name" address="address"} OR {exp:plugin cost="25" quantity="2"}, etc. The point is I want to allow for people to input whatever parameters. All I need to know is to extract the ARray or object that contains them all. The standard call $this->EE->TMPL->fetch_param(‘param_name’);

Only allows for retrieval of a known parameter but is there away to get access to all parameters?

       
blendimc's avatar
blendimc
150 posts
about 15 years ago
blendimc's avatar blendimc

Nevermind - $this->EE->TMPL->tag_data[0][‘params’];

       

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.