return true;
}
- function get()
+ function get($v, $opts=array())
{
if(empty($_REQUEST['_id']) || empty($_REQUEST['_table'])){
$this->jerr('Missing Options');
}
- function post()
+ function post($v)
{
if(empty($_REQUEST['_id']) || empty($_REQUEST['_table'])){
$this->jerr('Missing Options');
$cn->insert();
- $cn->sendManual();
+ $sent = $cn->sendManual();
+
+ if(get_class($sent) != 'Pman_Core_NotifySend_Exception_Success'){
+ $this->jerr($sent->getMessage());
+ }
$this->jok("SUCCESS");