Changes

Jump to navigation Jump to search
647 bytes added ,  16:39, 1 May 2012
no edit summary
|-
| valign='top' | '''Summary'''
|Returns all attribute nodes of the database specified by [[#Database Argument|$db]] that have {{Mono|$string}} as string value. If available, the value index is used to speed up evaluation.<br />If {{Mono|$attname}} is specified, the resulting attribute nodes are filtered by their attribute name.
|-
| valign='top' | '''Examples'''
|-
| valign='top' | '''Summary'''
|Returns all attributes of the database specified by [[#Database Argument|$db]], the string values of which are larger than or equal to {{Mono|$min}} and smaller than or equal to {{Mono|$max}}. If available, the value index is used to speed up evaluation.
|-
| valign='top' | '''Examples'''
|-
| valign='top' | '''Summary'''
|Returns all text nodes from the full-text index of the database specified by [[#Database Argument|$db]] that contain the text specified as {{Mono|$terms}}.<br/>The options used for building the full-text will also be applied to the search terms. As an example, if the index terms have been stemmed, the search string will be stemmed as well.
|-
| valign='top' | '''Errors'''
|-
| valign='top' | '''Summary'''
|Returns the ''id'' values of all database nodes specified by {{Mono|$nodes}}of the database specified by [[#Database Argument|$db]].<br/>Each database node has a persistent ''id'', which remains valid after update operations. If no updates are performed, the ''pre'' value can be requested, which provides access to database nodes in constant time.
|}
|-
| valign='top' | '''Summary'''
|Returns the ''pre'' values of all database nodes specified by {{Mono|$nodes}}of the database specified by [[#Database Argument|$db]].<br/>The ''pre'' value provides access to a database node in constant time, but it is ''transient'', i.e., it may change when database updates are performed.
|-
| valign='top' | '''Examples'''
|-
| valign='top' | '''Summary'''
|Returns all text nodes of the database specified by [[#Database Argument|$db]] that have {{Mono|$string}} as their string value. If available, the value index is used to speed up evaluation.
|-
| valign='top' | '''Examples'''
|-
| valign='top' | '''Summary'''
|Returns all text nodes of the database specified by [[#Database Argument|$db]] that are located in between the {{Mono|$min}} and {{Mono|$max}} strings. If available, the value index is used to speed up evaluation.
|-
| valign='top' | '''Examples'''
|-
| valign='top' | '''Summary'''
|Stores a binary resource specified by {{Mono|$data}} at in the database specified by [[#Database Argument|$db]] and the location specified by {{Mono|$path}}.
|-
| valign='top' | '''Errors'''
|-
| valign='top' | '''Summary'''
|Checks if the database specified database by [[#Database Argument|$db]] or the resource specified by {[Mono|$path}} exists. {{Mono|false}} is returned if a database directory is specifiedhas been addressed.
|-
| valign='top' | '''Examples'''
|-
| valign='top' | '''Summary'''
|Checks if the specified resource in the database [[#Database Argument|$db]] and the path {{Mono|$path}} exists , and if it is a raw file.
|-
| valign='top' | '''Examples'''
|-
| valign='top' | '''Summary'''
|Checks if the specified resource in the database [[#Database Argument|$db]] and the path {{Mono|$path}} exists , and if it is an XML document.
|-
| valign='top' | '''Examples'''
|-
| valign='top' | '''Summary'''
|Retrieves the content type of a resource in the resource specified by database [[#Database Argument|$db]] and the path {{Mono|$path}}.<br/>The file extension is used to recognize the content-type of a resource stored in the database. Content-type {{Mono|application/xml}} will be returned for any XML document stored in the database, regardless of its file name extension.
|-
| valign='top' | '''Errors'''
Bureaucrats, editor, reviewer, Administrators
13,554

edits

Navigation menu