When I make an API call to ning by doing something like: NingApi::instance()->blogPost->fetchNRecent($n, $args);
I get an array object:
Array ( [success] => 1 [anchor] => BfHfhl_YR-EoGTBFRpXCzoBbx5H8oZP1 [firstPage] => 1 [lastPage] => 1 [entry] => Array (  => Array ( [id] => 6473712:BlogPost:1640 [author] => 0p5s9omihvx0v [url] => http://hotsandbox.ning.com/xn/detail/6473712:BlogPost:1640 [createdDate] => 2012-02-17T16:49:36.545Z [updatedDate] => 2012-02-21T23:11:54.567Z [publishStatus] => publish [publishTime] => 2012-02-17T16:30:00.000Z [title] => How to Build a Better Bird House [description] =>
Right now I have multiple foreach loops embedded with in each other to read the blog post.
I was wondering if there is a way I can achieve the same and get the blog properties (featuredDate,title,description) and sub properties (author.fullName,author.iconUr) without having to wrote a lot of custom code?
© 2023 Created by Build Team. Powered by