Example #1
0
 function sendEvent($send_me)
 {
     $r = ESLconnection_sendEvent($this->_cPtr, $send_me);
     if (is_resource($r)) {
         $c = substr(get_resource_type($r), strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3);
         if (class_exists($c)) {
             return new $c($r);
         }
         return new ESLevent($r);
     }
     return $r;
 }
Example #2
0
File: ESL.php Project: swk/bluebox
 function sendEvent($send_me)
 {
     return ESLconnection_sendEvent($this->_cPtr, $send_me);
 }
Example #3
0
 function sendEvent($send_me)
 {
     $r = ESLconnection_sendEvent($this->_cPtr, $send_me);
     return is_resource($r) ? new ESLevent($r) : $r;
 }