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');
$sent = $cn->sendManual();
- print_R(get_class($sent));exit;
-
if(get_class($sent) != 'Pman_Core_NotifySend_Exception_Success'){
- $this->jerr($sent);
+ $this->jerr($sent->getMessage());
}
$this->jok("SUCCESS");
-
/*
$mid = $_REQUEST['_id'];