•  » Engine
  •  » [WebService] Question about pwg.images.setPrivacyLevel

#1 2009-09-08 23:02:27

bayral
Member
2009-09-01
14

[WebService] Question about pwg.images.setPrivacyLevel

Hello,

I have done a big part of the job of my C# proxy lib for piwigo WS.

I have all pwg.session, pwg.tags.* and pwg.category.* including the getImage working pretty good.

I have to start with the pwg.image.* functions.

pwg.images.setPrivacyLevel
what is the correct value for level parameter ?

thank a lot.

Offline

 

#2 2009-09-08 23:55:29

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
14098

Re: [WebService] Question about pwg.images.setPrivacyLevel

bayral wrote:

what is the correct value for level parameter ?

thank a lot.

The level parameter is an integer value among $conf['available_permission_levels'] which by default contains:

Code:

$conf['available_permission_levels'] = array(0,1,2,4,8);

Code:

lang['Level 0'] = '---';
$lang['Level 1'] = 'Contacts';
$lang['Level 2'] = 'Friends';
$lang['Level 4'] = 'Family';
$lang['Level 8'] = 'Admins';

Offline

 

#3 2009-09-09 13:08:50

bayral
Member
2009-09-01
14

Re: [WebService] Question about pwg.images.setPrivacyLevel

Thanks !

Offline

 
  •  » Engine
  •  » [WebService] Question about pwg.images.setPrivacyLevel

Board footer

Powered by FluxBB