PDA

View Full Version : api submit



maren
30 Oct 2009, 9:28 AM
hi for all
Can I please call two java method in one api submit form.


api : {
submit : Products.updateproduct,Product.updatecategory
}
Thank you in advance

Lonely Wolf
10 Nov 2009, 5:03 PM
write in you first function call other functions, in php example:


class Products {

public function updateproduct(){
// my code
$this->updatecategory();
}

public function updatecategory(){
// my code
}

}