title: accessing protected object in array
body: <p>what would be the correct syntax to access body, as these are objects not arrays and the parent objects is node:protected   </p>
  
  <pre><code> CourseObjectContent Object
      (
          [node:protected] =&gt; stdClass Object
              (
                  [nid] =&gt; 9397
                  [type] =&gt; book
                  [language] =&gt; 
                  [uid] =&gt; 1
                  [status] =&gt; 1
                  [created] =&gt; 1364217732
                  [changed] =&gt; 1367581312
                  [comment] =&gt; 0
                  [promote] =&gt; 0
                  [moderate] =&gt; 0
                  [sticky] =&gt; 0
                  [tnid] =&gt; 0
                  [translate] =&gt; 0
                  [vid] =&gt; 9406
                  [revision_uid] =&gt; 1
                  [title] =&gt; title text
                  [body] =&gt; "body text"
      }
  </code></pre>