Changeset 3454 for trunk/ws.php

Show
Ignore:
Timestamp:
06/25/09 01:01:35 (3 years ago)
Author:
plg
Message:

merge r3453 from branch 2.0 to trunk
feature 1033 added: new API method pwg.categories.setInfo makes possible to
change the name and comment of a given category.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/ws.php

    r3282 r3454  
    271271<br><b>categories</b> is a string list "category_id[,rank];category_id[,rank]" The rank is optional and is equivalent to "auto" if not given.' 
    272272    ); 
     273   
     274  $service->addMethod( 
     275    'pwg.categories.setInfo', 
     276    'ws_categories_setInfo', 
     277    array( 
     278      'category_id' => array(), 
     279       
     280      'name' => array('default' => null), 
     281      'comment' => array('default' => null), 
     282      ), 
     283    'POST method only.' 
     284    ); 
    273285} 
    274286