Changeset 3453 for branches/2.0/ws.php

Show
Ignore:
Timestamp:
06/24/09 23:42:39 (4 years ago)
Author:
plg
Message:

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
  • branches/2.0/ws.php

    r3192 r3453  
    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