downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

hw_api::insertanchor> <hw_api::info
[edit] Last updated: Fri, 25 May 2012

view this page in

hw_api::insert

(PHP 4, PHP 5 < 5.2.0, PECL hwapi SVN)

hw_api::insert新しいオブジェクトを挿入する

説明

hw_api_object hw_api::insert ( array $parameter )

新しいオブジェクトを挿入します。オブジェクトは ユーザー(user)・グループ(group)・文書(document)・アンカー(anchor) のいずれかの型となります。 オブジェクトの型に応じて、設定すべき他の属性が決まります。

パラメータ

parameter

パラメータの配列には、必須要素 'object' および 'content' (オブジェクトが文書である場合)、そしてオプションの要素として 'parameters'、'mode' および 'attributeSelector' が含まれます。 'object' は、オブジェクトの全ての属性を含む必要があります。 'parameters' は、例えば destination のような (属性のキーは 'Parent' です) 追加の属性を保持するものです 'content' は文書の内容です。'mode' は以下のフラグの組み合わせです。

HW_API_INSERT_NORMAL
オブジェクトはサーバーに挿入されます。
HW_API_INSERT_FORCE_VERSION_CONTROL
HW_API_INSERT_AUTOMATIC_CHECKOUT
HW_API_INSERT_PLAIN
HW_API_INSERT_KEEP_TIME_MODIFIED
HW_API_INSERT_DELAY_INDEXING

返り値



add a note add a note User Contributed Notes hw_api::insert
There are no user contributed notes for this page.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites