initiate (); ob_start (); while ($term = $field->getDocument ()) { $form = new DocumentForm ($term->getPath () . $term->getTemplate ()); $form->loadSimple ($term->getSimple ()); $term->getReplaced ($form, $itemId); ?>
getRelation () ." r LEFT JOIN ". $db->getSchema () ."._user u ON u._id = r._user WHERE r._relation = '". $itemId ."' ORDER BY r._create DESC"; $sth = $db->prepare ($sql); $sth->execute (); $control = array (); while ($obj = $sth->fetch (PDO::FETCH_OBJ)) { if (!$field->docExists ($obj->_id)) continue; $valid = FALSE; if (!in_array ($obj->_id, $control)) { $control [] = $obj->_id; $valid = TRUE; } ?>
getDocument ($obj->_id)->getLabel () ?> _version ?> author) ? __ ('Generated by the system') : $obj->author ?> created ?>