Регистрация Войти
Войти через VK Войти через FB Войти через Google Войти через Яндекс
Войти через VK Войти через FB Войти через Google Войти через Яндекс
Поиск по сайту
hw_mv
(PHP 4)
hw_mv — Moves objects
Описание
int hw_mv ( int $connection , array $object_id_array , int $source_id , int $destination_id )Moves the specified objects from a collection to another.
Список параметров
connection -
The connection identifier.
object_id_array -
An array of object ids.
source_id -
The source collection id.
destination_id -
The target collection id. If set to 0 the objects will be unlinked from the source collection. If this is the last instance of that object it will be deleted. If you want to delete all instances at once, use hw_deleteobject().
Возвращаемые значения
Returns the number of moved objects.
Смотрите также
- hw_cp() - Copies objects
- hw_deleteobject() - Deletes object
Описание на ru2.php.net
Описание на php.ru