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

search for in the

hw_New_Document> <hw_Modifyobject
Last updated: Fri, 05 Sep 2008

view this page in

hw_mv

(PHP 4)

hw_mvオブジェクトを移動する

説明

int hw_mv ( int $connection , array $object_id_array , int $source_id , int $destination_id )

コレクション内の指定したオブジェクトを別のコレクションに移動します。

パラメータ

connection

接続 ID。

object_id_array

オブジェクト ID の配列。

source_id

移動元のコレクション ID。

destination_id

移動先のコレクション ID。0 を指定すると、 オブジェクトは移動元のコレクションから削除されます。 これがオブジェクトの最後のインスタンスの場合、 このオブジェクトは削除されます。 全てのインスタンスを一度に削除したい場合、 hw_deleteobject() を使用してください。

返り値

移動されたオブジェクトの数を返します。



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

hw_New_Document> <hw_Modifyobject
Last updated: Fri, 05 Sep 2008
 
 
show source | credits | sitemap | contact | advertising | mirror sites