Closed gsteel closed 9 years ago
$group = $document->getGroup('article.group_name'); foreach($group->getArray() as $groupDoc) { if(isset($groupDoc['something'])) { // echo $groupDoc['something']->asText(); } }
This will raise a notice "undefined offset 'something' in GroupDoc on line ..." which shouldn't really happen if we're first testing to see if the index exists in the first place...
Thank you!
This will raise a notice "undefined offset 'something' in GroupDoc on line ..." which shouldn't really happen if we're first testing to see if the index exists in the first place...