Lines Matching defs:values
852 * @param string $which possible values: 'any', 'exif' or 'adobe'
896 * @param string $which possible values: 'any', 'exif' or 'adobe'
1590 $result = xml_parse_into_struct($parser, $data, $values, $tags);
1599 $count = count($values);
1601 if ($values[$i]['tag'] == 'rdf:Description' && $values[$i]['type'] == 'open') {
1603 while ((++$i < $count) && ($values[$i]['tag'] != 'rdf:Description')) {
1604 $this->_parseXmpNode($values, $i, $this->_info['xmp'][$values[$i]['tag']], $count);
1622 * @param array $values
1627 function _parseXmpNode($values, &$i, &$meta, $count) {
1628 if ($values[$i]['type'] == 'close') return;
1630 if ($values[$i]['type'] == 'complete') {
1632 $meta = $values[$i]['value'] ?? '';
1639 if ($values[$i]['tag'] == 'rdf:Bag' || $values[$i]['tag'] == 'rdf:Seq') {
1642 while ($values[++$i]['tag'] == 'rdf:li') {
1643 $this->_parseXmpNode($values, $i, $meta[], $count);
1647 } elseif ($values[$i]['tag'] == 'rdf:Alt') {
1649 if ($values[$i]['type'] == 'open') {
1651 $this->_parseXmpNode($values, $i, $meta, $count);
1652 while ((++$i < $count) && ($values[$i]['tag'] != 'rdf:Alt'));
1659 $startTag = $values[$i-1]['tag'];
1661 $this->_parseXmpNode($values, $i, $meta[$values[$i]['tag']], $count);
1662 } while ((++$i < $count) && ($values[$i]['tag'] != $startTag));