Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
model:ordbydesc [2012/04/27 22:21]
giancarlo
model:ordbydesc [2012/04/27 22:22] (current)
giancarlo
Line 6: Line 6:
  
 <code php> <code php>
-        $query_string = 'select $object $title $content from <#ri> +$query_string = 'select $object $title $content from <#ri> 
-                             where ($object <dc:title> $title +                 where ($object <dc:title> $title 
-                             and $object <fedora-model:hasModel> $content +                 and $object <fedora-model:hasModel> $content 
-                             and ($object <fedora-rels-ext:isMemberOfCollection> <info:fedora/' . $pid . '> +                 and ($object <fedora-rels-ext:isMemberOfCollection> <info:fedora/' . $pid . '> 
-                             or $object <fedora-rels-ext:isMemberOf> <info:fedora/' . $pid . '>+                 or $object <fedora-rels-ext:isMemberOf> <info:fedora/' . $pid . '>
-                             and $object <fedora-model:state> <info:fedora/fedora-system:def/model#Active>+                 and $object <fedora-model:state> <info:fedora/fedora-system:def/model#Active>
-                             minus $content <mulgara:is> <info:fedora/fedora-system:FedoraObject-3.0> +                 minus $content <mulgara:is> <info:fedora/fedora-system:FedoraObject-3.0> 
-                             order by $title';+                 order by $title';
  
 </code> </code>
 
 
model/ordbydesc.txt · Last modified: 2012/04/27 22:22 by giancarlo

Developers: CNR IRCrES IT Office and Library
Giancarlo Birello (giancarlo.birello _@_ ircres.cnr.it) and Anna Perin (anna.perin _@_ ircres.cnr.it)
DigiBess is licensed under: Creative Commons License
Recent changes RSS feed Creative Commons License Valid XHTML 1.0 Valid CSS Driven by DokuWiki
Drupal Garland Theme for Dokuwiki