File tree 1 file changed +17
-0
lines changed
1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -201,6 +201,22 @@ public function getGalleries($language_id = Fotolia_Api::LANGUAGE_ID_EN_US)
201
201
));
202
202
}
203
203
204
+ /**
205
+ * This method returns public seasonal galleries for a defined language
206
+ *
207
+ * @param int $language_id
208
+ * @return array
209
+ */
210
+ public function getSeasonalGalleries ($ language_id = Fotolia_Api::LANGUAGE_ID_EN_US , $ thumbnail_size = 110 , $ theme_id = null )
211
+ {
212
+ return $ this ->_api ('getSeasonalGalleries ' ,
213
+ array (
214
+ 'language_id ' => $ language_id ,
215
+ 'thumbnail_size ' => $ thumbnail_size ,
216
+ 'theme_id ' => $ theme_id
217
+ ));
218
+ }
219
+
204
220
/**
205
221
* This method returns Fotolia list of countries.
206
222
*
@@ -944,6 +960,7 @@ protected function _getNamespace($method)
944
960
case 'getCategories2 ' :
945
961
case 'getTags ' :
946
962
case 'getGalleries ' :
963
+ case 'getSeasonalGalleries ' :
947
964
case 'getCountries ' :
948
965
return 'search ' ;
949
966
You can’t perform that action at this time.
0 commit comments