Exemple #1
0
        public static object listIdentifiers(object instance, PhpStack stack)
        {
            var arg1 = stack.PeekValueOptional(1);
            var arg2 = stack.PeekValueOptional(2);

            stack.RemoveFrame();
            return(listIdentifiers(stack.Context, arg1, arg2));
        }
Exemple #2
0
        public static object getTransitions(object instance, PhpStack stack)
        {
            var arg1 = stack.PeekValueOptional(1);
            var arg2 = stack.PeekValueOptional(2);

            stack.RemoveFrame();
            return(((DateTimeZone)instance).getTransitions(stack.Context, arg1, arg2));
        }
Exemple #3
0
        public static object setFetchMode(object instance, PhpStack stack)
        {
            object fetch_to_mode = stack.PeekValue(1);
            object fetch_to_dest = stack.PeekValueOptional(2);
            object fetch_to_args = stack.PeekValueOptional(3);

            return(((PDOStatement)instance).setFetchMode(stack.Context, fetch_to_mode, fetch_to_dest, fetch_to_args));
        }
Exemple #4
0
        public static object fetch(object instance, PhpStack stack)
        {
            object style         = stack.PeekValueOptional(1);
            object orientation   = stack.PeekValueOptional(2);
            object cursor_offset = stack.PeekValueOptional(3);

            stack.RemoveFrame();
            return(((PDOStatement)instance).fetch(stack.Context, style, orientation, cursor_offset));
        }
Exemple #5
0
        public static object getFromName(object instance, PhpStack stack)
        {
            object name   = stack.PeekValue(1);
            object length = stack.PeekValueOptional(2);
            object flags  = stack.PeekValueOptional(3);

            stack.RemoveFrame();
            return(((ZipArchive)instance).getFromName(stack.Context, name, length, flags));
        }
Exemple #6
0
        public static object __construct(object instance, PhpStack stack)
        {
            object message  = stack.PeekValueOptional(1);
            object code     = stack.PeekValueOptional(2);
            object previous = stack.PeekValueOptional(3);

            stack.RemoveFrame();
            return(((Exception)instance).__construct(stack.Context, message, code, previous));
        }
Exemple #7
0
        public static object __construct(object instance, PhpStack stack)
        {
            var input          = stack.PeekValueOptional(1);
            var flags          = stack.PeekValueOptional(2);
            var iterator_class = stack.PeekValueOptional(3);

            stack.RemoveFrame();
            return(((ArrayObject)instance).__construct(stack.Context, input, flags, iterator_class));
        }
Exemple #8
0
        public static object __construct(object instance, PhpStack stack)
        {
            object argDSN           = stack.PeekValue(1);
            object argUsername      = stack.PeekValueOptional(2);
            object argPassword      = stack.PeekValueOptional(3);
            object argDriverOptions = stack.PeekValueOptional(4);

            stack.RemoveFrame();
            return(((PDO)instance).__construct(stack.Context, argDSN, argUsername, argPassword, argDriverOptions));
        }
Exemple #9
0
        public static object addFile(object instance, PhpStack stack)
        {
            object filename  = stack.PeekValue(1);
            object localname = stack.PeekValueOptional(2);
            object start     = stack.PeekValueOptional(3);
            object length    = stack.PeekValueOptional(4);

            stack.RemoveFrame();
            return(((ZipArchive)instance).addFile(stack.Context, filename, localname, start, length));
        }
Exemple #10
0
        public static object query(object instance, PhpStack stack)
        {
            object statement     = stack.PeekValue(1);
            object fetch_to_mode = stack.PeekValueOptional(2);
            object fetch_to_dest = stack.PeekValueOptional(3);
            object fetch_to_args = stack.PeekValueOptional(4);

            stack.RemoveFrame();
            return(((PDO)instance).query(stack.Context, statement, fetch_to_mode, fetch_to_dest, fetch_to_args));
        }
Exemple #11
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 #12
0
        public static object fetchColumn(object instance, PhpStack stack)
        {
            object column_number = stack.PeekValueOptional(1);

            stack.RemoveFrame();
            return(((PDOStatement)instance).fetchColumn(stack.Context, column_number));
        }
Exemple #13
0
        public static object hasChildren(object instance, PhpStack stack)
        {
            var allowLinks = stack.PeekValueOptional(1);

            stack.RemoveFrame();
            return(((RecursiveDirectoryIterator)instance).hasChildren(stack.Context /*, allowLinks*/));
        }
Exemple #14
0
        public static object execute(object instance, PhpStack stack)
        {
            object input_parameters = stack.PeekValueOptional(1);

            stack.RemoveFrame();
            return(((PDOStatement)instance).execute(stack.Context, input_parameters));
        }
Exemple #15
0
        public static object getMethods(object instance, PhpStack stack)
        {
            var filter = stack.PeekValueOptional(1);

            stack.RemoveFrame();
            return(((ReflectionClass)instance).getMethods(stack.Context, filter));
        }
Exemple #16
0
        public static object lastInsertId(object instance, PhpStack stack)
        {
            object name = stack.PeekValueOptional(1);

            stack.RemoveFrame();
            return(((PDO)instance).lastInsertId(stack.Context, name));
        }
Exemple #17
0
        public static object __construct(object instance, PhpStack stack)
        {
            object size = stack.PeekValueOptional(1);

            stack.RemoveFrame();
            return(((SplFixedArray)instance).__construct(stack.Context, size));
        }
Exemple #18
0
        public static object getValue(object instance, PhpStack stack)
        {
            var @object = stack.PeekValueOptional(1);

            stack.RemoveFrame();
            return(((ReflectionProperty)instance).getValue(stack.Context, @object));
        }
Exemple #19
0
        public static object getProperty(object instance, PhpStack stack)
        {
            var name = stack.PeekValueOptional(1);

            stack.RemoveFrame();
            return(((ReflectionClass)instance).getProperty(stack.Context, name));
        }
Exemple #20
0
        public static object fromArray(object instance, PhpStack stack)
        {
            object data         = stack.PeekValue(1);
            object save_indexes = stack.PeekValueOptional(2);

            stack.RemoveFrame();
            return(((SplFixedArray)instance).fromArray(stack.Context, data, save_indexes));
        }
Exemple #21
0
        public static object prepare(object instance, PhpStack stack)
        {
            object statement      = stack.PeekValue(1);
            object driver_options = stack.PeekValueOptional(2);

            stack.RemoveFrame();
            return(((PDO)instance).prepare(stack.Context, statement, driver_options));
        }
Exemple #22
0
        public static new object __construct(object instance, PhpStack stack)
        {
            var path  = stack.PeekValue(1);
            var flags = stack.PeekValueOptional(2);

            stack.RemoveFrame();
            return(((RecursiveDirectoryIterator)instance).__construct(stack.Context, path, flags));
        }
Exemple #23
0
        public static object quote(object instance, PhpStack stack)
        {
            object str       = stack.PeekValue(1);
            object paramType = stack.PeekValueOptional(2);

            stack.RemoveFrame();
            return(((PDO)instance).quote(stack.Context, str, paramType));
        }
Exemple #24
0
        public static object attach(object instance, PhpStack stack)
        {
            var storage = stack.PeekValue(1);
            var data    = stack.PeekValueOptional(2);

            stack.RemoveFrame();
            return(((SplObjectStorage)instance).attach(stack.Context, storage, data));
        }
Exemple #25
0
        public static object statIndex(object instance, PhpStack stack)
        {
            object index = stack.PeekValue(1);
            object flags = stack.PeekValueOptional(2);

            stack.RemoveFrame();
            return(((ZipArchive)instance).statIndex(stack.Context, index, flags));
        }
Exemple #26
0
        public static object open(object instance, PhpStack stack)
        {
            object filename = stack.PeekValue(1);
            object flags    = stack.PeekValueOptional(2);

            stack.RemoveFrame();
            return(((ZipArchive)instance).open(stack.Context, filename, flags));
        }
Exemple #27
0
        public static object extractTo(object instance, PhpStack stack)
        {
            object destination = stack.PeekValue(1);
            object entries     = stack.PeekValueOptional(2);

            stack.RemoveFrame();
            return(((ZipArchive)instance).extractTo(stack.Context, destination, entries));
        }
Exemple #28
0
        public static object getStaticPropertyValue(object instance, PhpStack stack)
        {
            object argName    = stack.PeekValue(1);
            object argDefault = stack.PeekValueOptional(2);

            stack.RemoveFrame();
            return(((ReflectionClass)instance).getStaticPropertyValue(stack.Context, argName, argDefault));
        }
Exemple #29
0
        public static object setValue(object instance, PhpStack stack)
        {
            var arg1 = stack.PeekValue(1);
            var arg2 = stack.PeekValueOptional(1);

            stack.RemoveFrame();

            return(((ReflectionProperty)instance).setValue(stack.Context, arg1, arg2));
        }
Exemple #30
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));
        }