git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12117 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale
2009-02-17 21:41:06 +00:00
parent bab0728ae0
commit 2cb9db8c0f
11 changed files with 1903 additions and 469 deletions
+3 -3
View File
@@ -52,10 +52,10 @@ class ESLevent {
return null;
}
function __construct($type_or_wrap_me,$subclass_name_or_free_me=null) {
function __construct($type,$subclass_name=null) {
switch (func_num_args()) {
case 1: $r=new_ESLevent($type_or_wrap_me); break;
default: $r=new_ESLevent($type_or_wrap_me,$subclass_name_or_free_me);
case 1: $r=new_ESLevent($type); break;
default: $r=new_ESLevent($type,$subclass_name);
}
$this->_cPtr=$r;
}