Ignore:
Timestamp:
Oct 3, 2011, 5:09:51 PM (13 years ago)
Author:
bayral
Message:

rename category to Albums

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/PiwigoLib/PiwigoLib/Proxy/PwgImagesProxy.cs

    r11903 r12336  
    3434        static internal PwgBaseProxyReponse pwg_images_add(String fileMd5sum, String thunbMd5sum, String HighresMd5sum,
    3535            String imageMd5sum,  String imageFilename, String imageName, String imageAuthor, DateTime creationDate, 
    36             String authorComment,List<String> lstCategories, List<String> lstTags, PwgConfidentLevelEnum? confidentLevel)
     36            String authorComment,List<String> lstAlbums, List<String> lstTags, PwgConfidentLevelEnum? confidentLevel)
    3737        {
    3838            PwgBaseProxyReponse response = null;
     
    5050                PwgProxyReponseHelper.buildQueryFromValue<String>(imageAuthor, "author", ref firstOcc, data);
    5151                PwgProxyReponseHelper.buildQueryFromValue<String>(authorComment, "comment", ref firstOcc, data);
    52                 PwgProxyReponseHelper.buildQueryFromArray<String>(lstCategories, "categories", ref firstOcc, data);
     52                PwgProxyReponseHelper.buildQueryFromArray<String>(lstAlbums, "categories", ref firstOcc, data);
    5353                PwgProxyReponseHelper.buildQueryFromArray<String>(lstTags, "tag_ids", ref firstOcc, data);
    5454                PwgProxyReponseHelper.buildQueryFromValue<Int32>((int?)confidentLevel, "level", ref firstOcc, data);
     
    136136        /// <param name="fileImage"></param>
    137137        /// <param name="imageId"></param>
    138         /// <param name="categoryId"></param>
     138        /// <param name="AlbumId"></param>
    139139        /// <param name="imageName"></param>
    140140        /// <param name="imageAuthor"></param>
     
    143143        /// <param name="imageTags"></param>
    144144        /// <returns></returns>
    145         static internal PwgAddSimpleImageProxyResponse pwg_images_addSimple(FileInfo fileImage, Int32? imageId, Int32? categoryId, String imageName, String imageAuthor, String imageComment, Int32? imageLevel, List<PwgTag> imageTags)
     145        static internal PwgAddSimpleImageProxyResponse pwg_images_addSimple(FileInfo fileImage, Int32? imageId, Int32? AlbumId, String imageName, String imageAuthor, String imageComment, Int32? imageLevel, List<PwgTag> imageTags)
    146146        {
    147147            PwgAddSimpleImageProxyResponse response = null;
     
    155155                dcFields.Add("method", "pwg.images.addSimple");
    156156                PwgProxyReponseHelper.buildDicFieldFromValue<Int32>(imageId, "image_id", ref dcFields);
    157                 PwgProxyReponseHelper.buildDicFieldFromValue<Int32>(categoryId, "category", ref dcFields);
     157                PwgProxyReponseHelper.buildDicFieldFromValue<Int32>(AlbumId, "category", ref dcFields);
    158158                PwgProxyReponseHelper.buildDicFieldFromValue<Int32>(imageLevel, "level", ref dcFields);
    159159                PwgProxyReponseHelper.buildDicFieldFromValue<String>(imageName, "name", ref dcFields);
Note: See TracChangeset for help on using the changeset viewer.