Sophie

Sophie

distrib > Mageia > 4 > x86_64 > by-pkgid > f800694edefe91adea2624f711a41a2d > files > 3467

php-manual-en-5.5.7-1.mga4.noarch.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Object record</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="function.hw-getchilddoccollobj.html">hw_GetChildDocCollObj</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="function.hw-getobjectbyquery.html">hw_GetObjectByQuery</a></div>
 <div class="up"><a href="ref.hw.html">Hyperwave Functions</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="function.hw-getobject" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">hw_GetObject</h1>
  <p class="verinfo">(PHP 4)</p><p class="refpurpose"><span class="refname">hw_GetObject</span> &mdash; <span class="dc-title">Object record</span></p>

 </div>
 <div class="refsect1 description" id="refsect1-function.hw-getobject-description">
  <h3 class="title">Description</h3>
  <div class="methodsynopsis dc-description">
   <span class="type"><a href="language.pseudo-types.html#language.types.mixed" class="type mixed">mixed</a></span> <span class="methodname"><strong>hw_getobject</strong></span>
    ( <span class="methodparam"><span class="type">int</span> <code class="parameter">$connection</code></span>
   , <span class="methodparam"><span class="type"><a href="language.pseudo-types.html#language.types.mixed" class="type mixed">mixed</a></span> <code class="parameter">$objectID</code></span>
   [, <span class="methodparam"><span class="type">string</span> <code class="parameter">$query</code></span>
  ] )</div>

  <p class="para rdfs-comment">
   Gets an object record.
   If the second parameter is an array of integer the function will
  </p>
 </div>

 <div class="refsect1 parameters" id="refsect1-function.hw-getobject-parameters">
  <h3 class="title">Parameters</h3>
  <p class="para">
   <dl>

    <dt>

     <span class="term"><em><code class="parameter">connection</code></em></span>
     <dd>

      <p class="para">
       The connection identifier.
      </p>
     </dd>

    </dt>

    <dt>

     <span class="term"><em><code class="parameter">objectID</code></em></span>
     <dd>

      <p class="para">
       The object identifier, or an array of identifiers.
      </p>
     </dd>

    </dt>

    <dt>

     <span class="term"><em><code class="parameter">query</code></em></span>
     <dd>

      <p class="para">
       The query string has the following syntax:
       <div class="example-contents screen">
<div class="parameterscode"><pre class="parameterscode">&lt;expr&gt; ::= &quot;(&quot; &lt;expr&gt; &quot;)&quot; |
           &quot;!&quot; &amp;lt;expr&gt; |          /* NOT */
           &lt;expr&gt; &quot;||&quot; &lt;expr&gt; |  /* OR */
           &lt;expr&gt; &quot;&amp;amp;&amp;amp;&quot; &lt;expr&gt; |  /* AND */
           &lt;attribute&gt; &lt;operator&gt; &lt;value&gt;

&lt;attribute&gt; ::= /* any attribute name (Title, Author, DocumentType ...) */

&lt;operator&gt; ::= &quot;=&quot; |    /* equal */
               &quot;&lt;&quot; |    /* less than (string compare) */
               &quot;&gt;&quot; |    /* greater than (string compare) */
               &quot;~&quot;      /* regular expression matching */</pre>
</div>
       </div>
       The query allows to further select certain objects from the list
       of given objects. Unlike the other
       query functions, this query may use not indexed attributes. How many
       object records are returned depends on the query and if access to
       the object is allowed.
      </p>
     </dd>

    </dt>

   </dl>

  </p>
 </div>

 <div class="refsect1 returnvalues" id="refsect1-function.hw-getobject-returnvalues">
  <h3 class="title">Return Values</h3>
  <p class="para">
   Returns the object record for the given object ID if the second parameter
   is an integer.
  </p>
  <p class="para">
   If the second parameter is an array of integer the function will
   return an array of object records. In such a case the last
   parameter is also evaluated which is a query string.
  </p>
 </div>

 <div class="refsect1 seealso" id="refsect1-function.hw-getobject-seealso">
  <h3 class="title">See Also</h3>
  <p class="para">
   <ul class="simplelist">
    <li class="member"> <span class="function"><a href="function.hw-getandlock.html" class="function" rel="rdfs-seeAlso">hw_getandlock()</a> - Return object record and lock object</span></li>
    <li class="member"> <span class="function"><a href="function.hw-getobjectbyquery.html" class="function" rel="rdfs-seeAlso">hw_getobjectbyquery()</a> - Search object</span></li>
   </ul>
  </p>
 </div>

</div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="function.hw-getchilddoccollobj.html">hw_GetChildDocCollObj</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="function.hw-getobjectbyquery.html">hw_GetObjectByQuery</a></div>
 <div class="up"><a href="ref.hw.html">Hyperwave Functions</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>