Changeset 2413 for trunk/ws.php


Ignore:
Timestamp:
Jul 2, 2008, 3:11:26 AM (16 years ago)
Author:
rvelices
Message:
  • first use of web services as Ajax: change the privacy level directly from the picture page
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ws.php

    r2325 r2413  
    116116      'Returns elements for the corresponding query search.'
    117117    );
     118  $service->addMethod('pwg.images.setPrivacyLevel', 'ws_images_setPrivacyLevel',
     119      array(
     120        'image_id' => array('flags'=>WS_PARAM_FORCE_ARRAY),
     121        'level' => array('maxValue'=>$conf['available_permission_levels']),
     122      ),
     123      'sets the privacy levels for the images' );
    118124
    119125  $service->addMethod('pwg.session.getStatus', 'ws_session_getStatus', null, '' );
Note: See TracChangeset for help on using the changeset viewer.