public function index()
 {
     $url = 'https://api.parse.com/1/classes/MenuItem';
     //        $url   = 'https://api.parse.com/1/classes/OrderItem';
     //        $url   = 'https://api.parse.com/1/classes/Visit';
     //        $url   = 'https://api.parse.com/1/users/HRPufP1Va1';
     $data = json_decode(service::read($url), TRUE);
     //        foreach ($data['results'] as $produk){
     //            echo $produk['name'].'<br/>';
     //            echo (!empty($produk['description']) ? $produk['description'] : '').'<br/>';
     //            echo (!empty($produk['thumbnail']['url']) ? '<img src="'.$produk['thumbnail']['url'].'">' : '').'<br/>';
     //            echo '<hr/>';
     //        }
     echo '<pre>';
     print_r($data);
     echo '</pre>';
 }
        <!-- /.col-lg-12 -->
        <div class="col-lg-12">
            <div class="panel panel-primary">
                <div class="panel-heading">
                    <h2 class="panel-title">Order List</h2>
                </div>
                <div class="panel-body">
                    <?php 
if (!empty($order_list)) {
    $url = 'https://api.parse.com/1/classes/MenuItem/' . $order_list['menuItem']['objectId'];
    $d = json_decode(service::read($url), TRUE);
    $urlV = 'https://api.parse.com/1/classes/Visit/' . $order_list['visit']['objectId'];
    $visit = json_decode(service::read($urlV), TRUE);
    $urlU = 'https://api.parse.com/1/users/' . $visit['user']['objectId'];
    $User = json_decode(service::read($urlU), TRUE);
    //
    //                            echo $order_list['menuItem']['objectId'];
    //                            echo '<br/>';
    //                            echo $visit['user']['objectId'];
    //                            echo '<br/>';
    //                            echo $user['user']['objectId'];
    //
    //                            echo '<pre>';
    //                            print_r($order_list);
    //                            echo '</pre>';
    //
    //                            echo '<pre>';
    //                            print_r($d);
    //                            echo '</pre>';
    //