reset_pod
Reset a Pod (clear out it's items)
function reset_pod($params)
Parameters
$params is an ASSOCIATIVE ARRAY that supports the following attributes:| Parameter | Type | Details |
|---|---|---|
| id | INT | the Pod ID |
| name | STRING | the Pod name |
Examples
$podapi = new PodAPI();
$params = array('name' => 'my_pod'); // reset by name
/*
$params = array('id' => 4); // reset by id (assuming my_pod's id is 4)
*/
$podapi->reset_pod($params);
