Introducción
Hyperwave has been developed at
IICM in Graz_ It started with
the name Hyper_G and changed to Hyperwave when
it was commercialised (in 1996)_
Hyperwave is not free software_ The current version, 5_5, is
available at http://www_hyperwave_com/_
A time limited version can be ordered for free (30 days)_
See also the Hyperwave module_
Hyperwave is an information system similar to a database
(HIS, 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_
Requerimientos
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_
Instalación
After installing the Hyperwave SDK, configure PHP with
__with_hwapi[=DIR]_
Integration with Apache
The integration with Apache and possible other servers is already
described in the Hyperwave module
which has been the first extension to connect a Hyperwave Server_
Configuración en tiempo de
ejecución
El comportamiento de estas
funciones está afectado por los valores definidos en
php_ini_
Tabla 1_ Hyperwave API configuration options
| Name | Default | Changeable |
|---|
| hwapi_allow_persistent | "0" | PHP_INI_SYSTEM |
For further details and definition of the PHP_INI_* constants see
ini_set()_
Tipos de recursos
Esta extensión no tiene
ningún tipo de recurso definido_
Constantes predefinidas
Esta extensión no tiene ninguna
constante definida_
Classes
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_
HW_API
HW_API_Object
HW_API_Attribute
HW_API_Error
HW_API_Content
HW_API_Reason
Some basic classes like
HW_API_String,
HW_API_String_Array, etc_, which exist in the
Hyperwave SDK have not been implemented since PHP has powerful
replacements for them_
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
the HW SDK_ Instead of passing serval parameters they are all put into
an associated array and passed as one paramter_ The names of the keys
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_
objectIdentifier The name or id of an object,
e_g_ "rootcollection", "0x873A8768 0x00000002"_
parentIdentifier The name or id of an object
which is considered to be a parent_
object An instance of class HW_API_Object_
parameters An instance of class HW_API_Object_
version The version of an object_
mode An integer value determine the way an
operation is executed_
attributeSelector 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_
objectQuery 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
hw_api_>children() or hw_api_>find()_