伍佰目录 短网址
  当前位置:海洋目录网 » 站长资讯 » 站长资讯 » 文章详细 订阅RssFeed

PHP - Manual: Hyperwave API 函数

来源:网络转载 浏览:55次 时间:2023-07-01
hw_api::checkin » « Integration with Apache PHP 手册 函数参考 其它服务 Hyperwave API

Hyperwave API 函数

Integration with Apache

The integration with Apache and possible other servers has been described in the separate chapter.

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 several parameters they are all put into an associated array and passed as one parameter. 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().

Note:

Methods returning boolean can return TRUE, FALSE or HW_API_Error object.

Table of Contentshw_api::checkin — Checks in an objecthw_api::checkout — Checks out an objecthw_api::children — Returns children of an objecthw_api::content — Returns content of an objecthw_api::copy — Copies physicallyhw_api::dbstat — Returns statistics about database serverhw_api::dcstat — Returns statistics about document cache serverhw_api::dstanchors — Returns a list of all destination anchorshw_api::dstofsrcanchor — Returns destination of a source anchorhw_api::find — Search for objectshw_api::ftstat — Returns statistics about fulltext serverhw_api::hwstat — Returns statistics about Hyperwave serverhw_api::identify — Log into Hyperwave Serverhw_api::info — Returns information about server configurationhw_api::insert — Inserts a new objecthw_api::insertanchor — Inserts a new object of type anchorhw_api::insertcollection — Inserts a new object of type collectionhw_api::insertdocument — Inserts a new object of type documenthw_api::link — Creates a link to an objecthw_api::lock — Locks an objecthw_api::move — Moves object between collectionshw_api::object — Retrieve attribute informationhw_api::objectbyanchor — Returns the object an anchor belongs tohw_api::parents — Returns parents of an objecthw_api::remove — Delete an objecthw_api::replace — Replaces an objecthw_api::setcommittedversion — Commits version other than last versionhw_api::srcanchors — Returns a list of all source anchorshw_api::srcsofdst — Returns source of a destination objecthw_api::unlock — Unlocks a locked objecthw_api::user — Returns the own user objecthw_api::userlist — Returns a list of all logged in usershw_api_attribute::key — Returns key of the attributehw_api_attribute::langdepvalue — Returns value for a given languagehw_api_attribute::value — Returns value of the attributehw_api_attribute::values — Returns all values of the attributehw_api_content::mimetype — Returns mimetypehw_api_content::read — Read contenthw_api_error::count — Returns number of reasonshw_api_error::reason — Returns reason of errorhw_api_object::assign — Clones objecthw_api_object::attreditable — Checks whether an attribute is editablehw_api_object::count — Returns number of attributeshw_api_object::insert — Inserts new attributehw_api_object::remove — Removes attributehw_api_object::title — Returns the title attributehw_api_object::value — Returns value of attributehw_api_reason::description — Returns description of reasonhw_api_reason::type — Returns type of reasonhwapi_attribute_new — Creates instance of class hw_api_attributehwapi_content_new — Create new instance of class hw_api_contenthwapi_hgcsp — Returns object of class hw_apihwapi_object_new — Creates a new instance of class hwapi_object_new
add a note

User Contributed Notes

There are no user contributed notes for this page.

官方地址:https://www.php.net/manual/en/ref.hwapi.php

  推荐站点

  • At-lib分类目录At-lib分类目录

    At-lib网站分类目录汇集全国所有高质量网站,是中国权威的中文网站分类目录,给站长提供免费网址目录提交收录和推荐最新最全的优秀网站大全是名站导航之家

    www.at-lib.cn
  • 中国链接目录中国链接目录

    中国链接目录简称链接目录,是收录优秀网站和淘宝网店的网站分类目录,为您提供优质的网址导航服务,也是网店进行收录推广,站长免费推广网站、加快百度收录、增加友情链接和网站外链的平台。

    www.cnlink.org
  • 35目录网35目录网

    35目录免费收录各类优秀网站,全力打造互动式网站目录,提供网站分类目录检索,关键字搜索功能。欢迎您向35目录推荐、提交优秀网站。

    www.35mulu.com
  • 就要爱网站目录就要爱网站目录

    就要爱网站目录,按主题和类别列出网站。所有提交的网站都经过人工审查,确保质量和无垃圾邮件的结果。

    www.912219.com
  • 伍佰目录伍佰目录

    伍佰网站目录免费收录各类优秀网站,全力打造互动式网站目录,提供网站分类目录检索,关键字搜索功能。欢迎您向伍佰目录推荐、提交优秀网站。

    www.wbwb.net