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($sent === true){
- $this->jerr($sent);
+ if(get_class($sent) != 'Pman_Core_NotifySend_Exception_Success'){
+ $this->jerr($sent->getMessage());
}
$this->jok("SUCCESS");
-
/*
$mid = $_REQUEST['_id'];
$content = $x->{$method}($this, $this->authUser);
+ $content['bcc'] = array();
+
$sent = $core_email->send($content);
if(is_object($sent)){