protected function addCopyCategoryKuserJob($categoryId) { $templateCategory = new categoryKuser(); $templateCategory->setCategoryId($this->getId()); $filter = new categoryKuserFilter(); $filter->setCategoryIdEqual($categoryId); kJobsManager::addCopyJob($this->getPartnerId(), CopyObjectType::CATEGORY_USER, $filter, $templateCategory); }