Example #1
0
 /**
  * Function constructs an array of the return values of the bulk upload result and returns it
  * @param BulkUploadResult $bulkUploadResult
  * @param kJobData $data
  * @return array
  */
 protected static function writeCategoryUserBulkUploadResults(BulkUploadResult $bulkUploadResult, kJobData $data)
 {
     /* @var $bulkUploadResult BulkUploadResultCategoryKuser */
     $values = array();
     $values[] = $bulkUploadResult->getCategoryId();
     $values[] = $bulkUploadResult->getUserId();
     $values[] = $bulkUploadResult->getCategoryReferenceId();
     $values[] = $bulkUploadResult->getPermissionLevel();
     $values[] = $bulkUploadResult->getUpdateMethod();
     $values[] = $bulkUploadResult->getRequiredStatus();
     return $values;
 }