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

plugin returning array data?

Development and Programming

newsun's avatar
newsun
24 posts
14 years ago
newsun's avatar newsun

Can you return a php array from a plugin? We posted a library over and noticed that it seems like we can only return a single piece of string data instead of the array data we had been returning.

If we cannot, we will have to go back to the library usage.

[Mod Edit: Moved to the Development & Programming forum]

       
the3mus1can's avatar
the3mus1can
426 posts
14 years ago
the3mus1can's avatar the3mus1can

Nope, only a string can be returned. Or a class that has a __toString method.

       

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.