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