Advertisement
Guest User

Untitled

a guest
Sep 1st, 2015
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. //Determine the count of items in this app
  2. $ItemCount = PodioItem::get_count( $app_id );
  3. print_r($ItemCount);
  4.  
  5.  
  6. //Only 1 batch, just add however many items exist in the app
  7. $items[] = PodioItem::filter($app_id);//return an array of items null
  8.  
  9.  
  10. //Replace return cart by <br/> of items array
  11. $items[0] = str_replace('\n', '<br/>', $items[0]);
  12.  
  13. //Json Encode and decode the Items string array
  14. $items[0] = json_decode(json_encode($items[0]), true);
  15. ChromePhp::log($items[0]);
  16. print_r($items[0]);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement