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

Relationship field lookup in an EE plugin?

Development and Programming

moki's avatar
moki
26 posts
11 years ago
moki's avatar moki

I’m in the unfortunate position of needing to fix a third-party plugin that was created under contract; the original developers are not available to fix it.

From within the plugin, I’ll need to look up field data from a relationships field. e.g.: “shirts” has a relationship field that points to the “vendors” channel, which contains a field “email”, so in php using the EE classes or raw SQL, I’d need to look up:

shirts->vendors->email

After a bit of Google’ing, I didn’t find anything documenting the internal structure of relationship fields, or how this might be accomplished.

Any help would be appreciated!

       
ahmad saad's avatar
ahmad saad
364 posts
11 years ago
ahmad saad's avatar ahmad saad

hello my friend,

I can help you here, but I must give a closer look.

check your PM.

       

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.