Exemple #1
0
        public static object setStaticPropertyValue(object instance, PhpStack stack)
        {
            object argName  = stack.PeekValue(1);
            object argValue = stack.PeekValue(2);

            stack.RemoveFrame();
            return(((ReflectionClass)instance).setStaticPropertyValue(stack.Context, argName, argValue));
        }
Exemple #2
0
        public static object renameName(object instance, PhpStack stack)
        {
            object name    = stack.PeekValue(1);
            object newname = stack.PeekValue(2);

            stack.RemoveFrame();
            return(((ZipArchive)instance).renameName(stack.Context, name, newname));
        }
Exemple #3
0
        public static object offsetSet(object instance, PhpStack stack)
        {
            object index = stack.PeekValue(1);
            object value = stack.PeekValue(2);

            stack.RemoveFrame();
            return(((ArrayAccess)instance).offsetSet(stack.Context, index, value));
        }
Exemple #4
0
        public static object __construct(object instance, PhpStack stack)
        {
            object @class       = stack.PeekValue(1);
            object propertyname = stack.PeekValue(1);

            stack.RemoveFrame();
            return(((ReflectionProperty)instance).__construct(stack.Context, @class, propertyname));
        }
Exemple #5
0
        public static object setAttribute(object instance, PhpStack stack)
        {
            object attribute = stack.PeekValue(1);
            object value     = stack.PeekValue(2);

            stack.RemoveFrame();
            return(((PDO)instance).setAttribute(stack.Context, attribute, value));
        }
Exemple #6
0
        public static object addFromString(object instance, PhpStack stack)
        {
            object localname = stack.PeekValue(1);
            object contents  = stack.PeekValue(2);

            stack.RemoveFrame();
            return(((ZipArchive)instance).addFromString(stack.Context, localname, contents));
        }
Exemple #7
0
        public static object setCommentName(object instance, PhpStack stack)
        {
            object name    = stack.PeekValue(1);
            object comment = stack.PeekValue(2);

            stack.RemoveFrame();
            return(((ZipArchive)instance).setCommentName(stack.Context, name, comment));
        }
Exemple #8
0
        public static object createFunction(object instance, PhpStack stack)
        {
            object function_name = stack.PeekValue(1);
            object callback      = stack.PeekValue(2);
            object num_args      = stack.PeekValueOptional(3);

            stack.RemoveFrame();
            return(((SQLiteDatabase)instance).createFunction(stack.Context, function_name, callback, num_args));
        }
        public static object __call(object instance, PhpStack stack)
        {
            stack.CalleeName = "__call";

            object arg1 = stack.PeekValue(1);

            object arg2 = stack.PeekValue(2);

            stack.RemoveFrame();
            return(((SoapClient)instance).__call(stack.Context, arg1, arg2));
        }
Exemple #10
0
        public static new object __construct(object instance, PhpStack stack)
        {
            object faultcode   = stack.PeekValue(1);
            object faultstring = stack.PeekValue(2);
            object faultactor  = stack.PeekValueOptional(3);
            object detail      = stack.PeekValueOptional(4);
            object faultname   = stack.PeekValueOptional(5);
            object headerfault = stack.PeekValueOptional(6);

            stack.RemoveFrame();
            return(((SoapFault)instance).__construct(stack.Context, faultcode, faultstring, faultactor, detail, faultname, headerfault));
        }
Exemple #11
0
        public static object Remove(object instance, PhpStack stack)
        {
            object arg = stack.PeekValue(1);

            stack.RemoveFrame();
            return(((EventClass <T>)instance).Remove(stack.Context, arg));
        }
Exemple #12
0
        public static object offsetExists(object instance, PhpStack stack)
        {
            object index = stack.PeekValue(1);

            stack.RemoveFrame();
            return(((ArrayAccess)instance).offsetExists(stack.Context, index));
        }
Exemple #13
0
        public static object unserialize(object instance, PhpStack stack)
        {
            object data = stack.PeekValue(1);

            stack.RemoveFrame();
            return(((Serializable)instance).unserialize(stack.Context, data));
        }
Exemple #14
0
        public static object setInfo(object instance, PhpStack stack)
        {
            var data = stack.PeekValue(1);

            stack.RemoveFrame();
            return(((SplObjectStorage)instance).setInfo(stack.Context, data));
        }
Exemple #15
0
        public static object newInstanceArgs(object instance, PhpStack stack)
        {
            object args = stack.PeekValue(1);

            stack.RemoveFrame();
            return(((ReflectionClass)instance).newInstanceArgs(stack.Context, args));
        }
Exemple #16
0
        public static object __construct(object instance, PhpStack stack)
        {
            object argument = stack.PeekValue(1);

            stack.RemoveFrame();
            return(((ReflectionClass)instance).__construct(stack.Context, argument));
        }
Exemple #17
0
        public static object implementsInterface(object instance, PhpStack stack)
        {
            var ifacename = stack.PeekValue(1);

            stack.RemoveFrame();
            return(((ReflectionClass)instance).implementsInterface(stack.Context, ifacename));
        }
Exemple #18
0
        public static object unchangeIndex(object instance, PhpStack stack)
        {
            object index = stack.PeekValue(1);

            stack.RemoveFrame();
            return(((ZipArchive)instance).unchangeIndex(stack.Context, index));
        }
Exemple #19
0
        public static object unchangeName(object instance, PhpStack stack)
        {
            object name = stack.PeekValue(1);

            stack.RemoveFrame();
            return(((ZipArchive)instance).unchangeName(stack.Context, name));
        }
Exemple #20
0
        public static object hasProperty(object instance, PhpStack stack)
        {
            object args = stack.PeekValue(1);

            stack.RemoveFrame();
            return(((ReflectionClass)instance).hasProperty(stack.Context, args));
        }
Exemple #21
0
        public static object addEmptyDir(object instance, PhpStack stack)
        {
            object dirname = stack.PeekValue(1);

            stack.RemoveFrame();
            return(((ZipArchive)instance).addEmptyDir(stack.Context, dirname));
        }
Exemple #22
0
        public static object getConstant(object instance, PhpStack stack)
        {
            object argName = stack.PeekValue(1);

            stack.RemoveFrame();
            return(((ReflectionClass)instance).getConstant(stack.Context, argName));
        }
Exemple #23
0
        public static object getStream(object instance, PhpStack stack)
        {
            object name = stack.PeekValue(1);

            stack.RemoveFrame();
            return(((ZipArchive)instance).getStream(stack.Context, name));
        }
Exemple #24
0
        public static object getArchiveComment(object instance, PhpStack stack)
        {
            object flags = stack.PeekValue(1);

            stack.RemoveFrame();
            return(((ZipArchive)instance).getArchiveComment(stack.Context, flags));
        }
Exemple #25
0
        public static object isSubclassOf(object instance, PhpStack stack)
        {
            var @class = stack.PeekValue(1);

            stack.RemoveFrame();
            return(((ReflectionClass)instance).isSubclassOf(stack.Context, @class));
        }
Exemple #26
0
        public static object getHash(object instance, PhpStack stack)
        {
            var obj = stack.PeekValue(1);

            stack.RemoveFrame();
            return(((SplObjectStorage)instance).getHash(stack.Context, obj));
        }
Exemple #27
0
        public static object setAccessible(object instance, PhpStack stack)
        {
            var accessible = stack.PeekValue(1);

            stack.RemoveFrame();
            return(((ReflectionProperty)instance).setAccessible(stack.Context, accessible));
        }
Exemple #28
0
        public static object removeAllExcept(object instance, PhpStack stack)
        {
            var storage = stack.PeekValue(1);

            stack.RemoveFrame();
            return(((SplObjectStorage)instance).removeAllExcept(stack.Context, storage));
        }
Exemple #29
0
        public static object exec(object instance, PhpStack stack)
        {
            object statement = stack.PeekValue(1);

            stack.RemoveFrame();
            return(((PDO)instance).exec(stack.Context, statement));
        }
Exemple #30
0
        public static object getMethod(object instance, PhpStack stack)
        {
            var name = stack.PeekValue(1);

            stack.RemoveFrame();
            return(((ReflectionClass)instance).getMethod(stack.Context, name));
        }