2002-07-22 13:12:36 +00:00
|
|
|
<?xml version="1.0" encoding="iso-8859-1"?>
|
2004-03-24 16:39:43 +00:00
|
|
|
<!-- $Revision: 1.12 $ -->
|
2002-04-15 00:12:54 +00:00
|
|
|
<reference id="ref.hwapi">
|
2004-02-24 08:46:39 +00:00
|
|
|
<title>Hyperwave API Functions</title>
|
2002-04-15 00:12:54 +00:00
|
|
|
<titleabbrev>Hyperwave API</titleabbrev>
|
|
|
|
|
|
|
|
<partintro>
|
|
|
|
|
2002-07-22 13:12:36 +00:00
|
|
|
<section id="hwapi.intro">
|
|
|
|
&reftitle.intro;
|
2002-04-15 00:12:54 +00:00
|
|
|
<para>
|
2003-06-02 17:00:51 +00:00
|
|
|
<productname>Hyperwave</productname> has been developed at
|
|
|
|
<ulink url="&url.iicm;">IICM</ulink> in Graz. It started with
|
|
|
|
the name <acronym>Hyper-G</acronym> and changed to Hyperwave when
|
|
|
|
it was commercialised (in 1996).
|
2002-04-15 00:12:54 +00:00
|
|
|
</para>
|
|
|
|
<para>
|
2003-06-02 17:00:51 +00:00
|
|
|
Hyperwave is not free software. The current version, 5.5, is
|
|
|
|
available at <ulink url="&url.hyperwave;">&url.hyperwave;</ulink>.
|
|
|
|
A time limited version can be ordered for free (30 days).
|
2002-04-15 00:12:54 +00:00
|
|
|
</para>
|
2002-07-22 13:12:36 +00:00
|
|
|
<para>
|
2004-03-24 16:39:43 +00:00
|
|
|
See also the <link linkend="ref.hw">Hyperwave</link> module.
|
2002-07-22 13:12:36 +00:00
|
|
|
</para>
|
2002-04-15 00:12:54 +00:00
|
|
|
<para>
|
2003-06-02 17:00:51 +00:00
|
|
|
Hyperwave is an information system similar to a database
|
|
|
|
(<acronym>HIS</acronym>, Hyperwave Information Server). Its focus
|
|
|
|
is the storage and management of documents. A document can be any
|
|
|
|
possible piece of data that may as well be stored in file. Each
|
|
|
|
document is accompanied by its object record. The object record
|
|
|
|
contains meta data for the document. The meta data is a list of
|
|
|
|
attributes which can be extended by the user. Certain attributes
|
|
|
|
are always set by the Hyperwave server, other may be modified by
|
|
|
|
the user.
|
2002-04-15 00:12:54 +00:00
|
|
|
</para>
|
|
|
|
</section>
|
|
|
|
|
2002-07-22 13:12:36 +00:00
|
|
|
<section id="hwapi.requirements">
|
|
|
|
&reftitle.required;
|
2002-04-15 00:12:54 +00:00
|
|
|
<para>
|
2003-06-02 17:00:51 +00:00
|
|
|
Since 2001 there is a Hyperwave SDK available. It supports Java,
|
|
|
|
JavaScript and C++. This PHP Extension is based on the C++ interface.
|
|
|
|
In order to activate the hwapi support in PHP you will have to install
|
|
|
|
the Hyperwave SDK first.
|
2002-07-22 13:12:36 +00:00
|
|
|
</para>
|
|
|
|
</section>
|
2002-11-28 00:42:47 +00:00
|
|
|
|
2003-06-02 17:00:51 +00:00
|
|
|
&reference.hwapi.configure;
|
2002-04-15 00:12:54 +00:00
|
|
|
|
2002-07-22 13:12:36 +00:00
|
|
|
<section id="hwapi.apache">
|
2003-06-02 17:00:51 +00:00
|
|
|
<title>Integration with Apache</title>
|
2002-07-22 13:12:36 +00:00
|
|
|
<para>
|
2003-06-02 17:00:51 +00:00
|
|
|
The integration with Apache and possible other servers is already
|
2004-03-24 16:39:43 +00:00
|
|
|
described in the <link linkend="ref.hw">Hyperwave module</link>
|
2003-06-02 17:00:51 +00:00
|
|
|
which has been the first extension to connect a Hyperwave Server.
|
2002-07-22 13:12:36 +00:00
|
|
|
</para>
|
|
|
|
</section>
|
|
|
|
|
2002-09-14 21:26:46 +00:00
|
|
|
&reference.hwapi.ini;
|
2002-07-22 13:12:36 +00:00
|
|
|
|
|
|
|
<section id="hwapi.resources">
|
|
|
|
&reftitle.resources;
|
|
|
|
&no.resource;
|
|
|
|
</section>
|
|
|
|
|
|
|
|
<section id="hwapi.constants">
|
|
|
|
&reftitle.constants;
|
|
|
|
&no.constants;
|
|
|
|
</section>
|
|
|
|
|
|
|
|
<section id="hwapi.classes">
|
2002-04-15 00:12:54 +00:00
|
|
|
<title>Classes</title>
|
|
|
|
<para>
|
2003-06-02 17:00:51 +00:00
|
|
|
The API provided by the HW_API extension is fully object oriented.
|
|
|
|
It is very similar to the C++ interface of the Hyperwave SDK.
|
|
|
|
It consist of the following classes.
|
2002-04-15 00:12:54 +00:00
|
|
|
<itemizedlist>
|
|
|
|
<listitem>
|
|
|
|
<simpara>
|
|
|
|
<classname>HW_API</classname>
|
2002-04-18 10:01:02 +00:00
|
|
|
</simpara>
|
|
|
|
</listitem>
|
2002-04-15 00:12:54 +00:00
|
|
|
<listitem>
|
|
|
|
<simpara>
|
|
|
|
<classname>HW_API_Object</classname>
|
2002-04-18 10:01:02 +00:00
|
|
|
</simpara>
|
|
|
|
</listitem>
|
2002-04-15 00:12:54 +00:00
|
|
|
<listitem>
|
|
|
|
<simpara>
|
|
|
|
<classname>HW_API_Attribute</classname>
|
2002-04-18 10:01:02 +00:00
|
|
|
</simpara>
|
|
|
|
</listitem>
|
2002-04-15 00:12:54 +00:00
|
|
|
<listitem>
|
|
|
|
<simpara>
|
|
|
|
<classname>HW_API_Error</classname>
|
2002-04-18 10:01:02 +00:00
|
|
|
</simpara>
|
|
|
|
</listitem>
|
2002-04-15 00:12:54 +00:00
|
|
|
<listitem>
|
|
|
|
<simpara>
|
|
|
|
<classname>HW_API_Content</classname>
|
2002-04-18 10:01:02 +00:00
|
|
|
</simpara>
|
|
|
|
</listitem>
|
2002-04-15 00:12:54 +00:00
|
|
|
<listitem>
|
|
|
|
<simpara>
|
|
|
|
<classname>HW_API_Reason</classname>
|
2002-04-18 10:01:02 +00:00
|
|
|
</simpara>
|
|
|
|
</listitem>
|
2002-04-15 00:12:54 +00:00
|
|
|
</itemizedlist>
|
2003-06-02 17:00:51 +00:00
|
|
|
Some basic classes like <classname>HW_API_String</classname>,
|
|
|
|
<classname>HW_API_String_Array</classname>, etc., which exist in the
|
|
|
|
Hyperwave SDK have not been implemented since PHP has powerful
|
|
|
|
replacements for them.
|
2002-04-15 00:12:54 +00:00
|
|
|
</para>
|
|
|
|
<para>
|
2003-06-02 17:00:51 +00:00
|
|
|
Each class has certain method, whose names are identical to its
|
|
|
|
counterparts in the Hyperwave SDK. Passing arguments to this function
|
|
|
|
differs from all the other PHP extensions but is close to the C++ API of
|
2003-12-17 14:32:39 +00:00
|
|
|
the HW SDK. Instead of passing several parameters they are all put into
|
|
|
|
an associated array and passed as one parameter. The names of the keys
|
2003-06-02 17:00:51 +00:00
|
|
|
are identical to those documented in the HW SDK. The common parameters
|
|
|
|
are listed below. If other parameters are required they will be
|
|
|
|
documented if needed.
|
2002-04-15 00:12:54 +00:00
|
|
|
<itemizedlist>
|
|
|
|
<listitem>
|
|
|
|
<simpara>
|
2003-06-02 17:00:51 +00:00
|
|
|
<classname>objectIdentifier</classname> The name or id of an object,
|
2002-04-15 00:12:54 +00:00
|
|
|
e.g. "rootcollection", "0x873A8768 0x00000002".
|
2002-04-18 10:01:02 +00:00
|
|
|
</simpara>
|
|
|
|
</listitem>
|
2002-04-15 00:12:54 +00:00
|
|
|
<listitem>
|
|
|
|
<simpara>
|
2003-06-02 17:00:51 +00:00
|
|
|
<classname>parentIdentifier</classname> The name or id of an object
|
|
|
|
which is considered to be a parent.
|
2002-04-18 10:01:02 +00:00
|
|
|
</simpara>
|
|
|
|
</listitem>
|
2002-04-15 00:12:54 +00:00
|
|
|
<listitem>
|
|
|
|
<simpara>
|
2003-06-02 17:00:51 +00:00
|
|
|
<classname>object</classname> An instance of class HW_API_Object.
|
2002-04-18 10:01:02 +00:00
|
|
|
</simpara>
|
|
|
|
</listitem>
|
2002-04-15 00:12:54 +00:00
|
|
|
<listitem>
|
|
|
|
<simpara>
|
2003-06-02 17:00:51 +00:00
|
|
|
<classname>parameters</classname> An instance of class HW_API_Object.
|
2002-04-18 10:01:02 +00:00
|
|
|
</simpara>
|
|
|
|
</listitem>
|
2002-04-15 00:12:54 +00:00
|
|
|
<listitem>
|
|
|
|
<simpara>
|
2003-06-02 17:00:51 +00:00
|
|
|
<classname>version</classname> The version of an object.
|
2002-04-18 10:01:02 +00:00
|
|
|
</simpara>
|
|
|
|
</listitem>
|
2002-04-15 00:12:54 +00:00
|
|
|
<listitem>
|
|
|
|
<simpara>
|
2003-06-02 17:00:51 +00:00
|
|
|
<classname>mode</classname> An integer value determine the way an
|
|
|
|
operation is executed.
|
2002-04-18 10:01:02 +00:00
|
|
|
</simpara>
|
|
|
|
</listitem>
|
2002-04-15 00:12:54 +00:00
|
|
|
<listitem>
|
|
|
|
<simpara>
|
2003-06-02 17:00:51 +00:00
|
|
|
<classname>attributeSelector</classname> Any array of strings, each
|
|
|
|
containing a name of an attribute. This is used if you retrieve the
|
|
|
|
object record and want to include certain attributes.
|
2002-04-18 10:01:02 +00:00
|
|
|
</simpara>
|
|
|
|
</listitem>
|
2002-04-15 00:12:54 +00:00
|
|
|
<listitem>
|
|
|
|
<simpara>
|
2003-06-02 17:00:51 +00:00
|
|
|
<classname>objectQuery</classname> A query to select certain object
|
|
|
|
out of a list of objects. This is used to reduce the number of objects
|
|
|
|
which was delivered by a function like
|
|
|
|
<function>hw_api->children</function> or <function>hw_api->find</function>.
|
2002-04-18 10:01:02 +00:00
|
|
|
</simpara>
|
|
|
|
</listitem>
|
2002-04-15 00:12:54 +00:00
|
|
|
</itemizedlist>
|
|
|
|
</para>
|
|
|
|
</section>
|
|
|
|
</partintro>
|
|
|
|
|
|
|
|
&reference.hwapi.functions;
|
|
|
|
|
|
|
|
</reference>
|
|
|
|
<!-- Keep this comment at the end of the file
|
|
|
|
Local variables:
|
|
|
|
mode: sgml
|
|
|
|
sgml-omittag:t
|
|
|
|
sgml-shorttag:t
|
|
|
|
sgml-minimize-attributes:nil
|
|
|
|
sgml-always-quote-attributes:t
|
|
|
|
sgml-indent-step:1
|
|
|
|
sgml-indent-data:t
|
|
|
|
indent-tabs-mode:nil
|
|
|
|
sgml-parent-document:nil
|
|
|
|
sgml-default-dtd-file:"../../../manual.ced"
|
|
|
|
sgml-exposed-tags:nil
|
|
|
|
sgml-local-catalogs:nil
|
|
|
|
sgml-local-ecat-files:nil
|
|
|
|
End:
|
|
|
|
vim600: syn=xml fen fdm=syntax fdl=2 si
|
|
|
|
vim: et tw=78 syn=sgml
|
|
|
|
vi: ts=1 sw=1
|
|
|
|
-->
|