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); }
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); }
public static object __construct(object instance, PhpStack stack) { object argFileName = stack.PeekValue(1); object argMode = stack.PeekValueOptional(2); PhpReference error = stack.PeekReferenceOptional(3); stack.RemoveFrame(); string filename = PHP.Core.Convert.ObjectToString(argFileName); int mode = PHP.Core.Convert.ObjectToInteger(argMode); return ((SQLiteDatabase)instance).__construct(stack.Context, filename, mode, error); }
public static object hasChildren(object instance, PhpStack stack) { var allowLinks = stack.PeekValueOptional(1); stack.RemoveFrame(); return ((RecursiveDirectoryIterator)instance).hasChildren(stack.Context/*, allowLinks*/); }
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); }
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); }
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); }
public static object __construct(object instance, PhpStack stack) { var arg1 = stack.PeekValueOptional(1); var arg2 = stack.PeekValueOptional(2); stack.RemoveFrame(); return ((__PHP__DateTime)instance).__construct(stack.Context, arg1, arg2); }
public static object getSubIterator(object instance, PhpStack stack) { var level = stack.PeekValueOptional(1); stack.RemoveFrame(); return ((RecursiveIteratorIterator)instance).getSubIterator(stack.Context, level); }
public static object fetchColumn(object instance, PhpStack stack) { object column_number = stack.PeekValueOptional(1); stack.RemoveFrame(); return ((PDOStatement)instance).fetchColumn(stack.Context, column_number); }
public static object execute(object instance, PhpStack stack) { object input_parameters = stack.PeekValueOptional(1); stack.RemoveFrame(); return ((PDOStatement)instance).execute(stack.Context, input_parameters); }
public static object bindValue(object instance, PhpStack stack) { object parameter = stack.PeekValue(1); object value = stack.PeekReference(2); object data_type = stack.PeekValueOptional(3); stack.RemoveFrame(); return ((PDOStatement)instance).bindValue(stack.Context, parameter, value, data_type); }
public static object getClosure(object instance, PhpStack stack) { var @object = stack.PeekValueOptional(1); stack.RemoveFrame(); return ((ReflectionMethod)instance).getClosure(stack.Context, @object); }
public static object __construct(object instance, PhpStack stack) { stack.CalleeName = "__construct"; object arg1 = stack.PeekValue(1); object arg2 = stack.PeekValueOptional(2); stack.RemoveFrame(); return ((SoapClient)instance).__construct(stack.Context, arg1, arg2); }
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); }
public static object __construct(object instance, PhpStack stack) { object iterator = stack.PeekValue(1); object classname = stack.PeekValueOptional(2); stack.RemoveFrame(); return ((IteratorIterator)instance).__construct(stack.Context, iterator, classname); }
public static object __construct(object instance, PhpStack stack) { object iterator = stack.PeekValue(1); object mode = stack.PeekValueOptional(2); object flags = stack.PeekValueOptional(3); stack.RemoveFrame(); return ((RecursiveIteratorIterator)instance).__construct(stack.Context, iterator, mode, flags); }
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); }
public static object setMaxDepth(object instance, PhpStack stack) { object max_depth = stack.PeekValueOptional(1); stack.RemoveFrame(); return ((RecursiveIteratorIterator)instance).setMaxDepth(stack.Context, max_depth); }
public static new object __construct(object instance, PhpStack stack) { object message = stack.PeekValueOptional(1); object code = stack.PeekValueOptional(2); object severity = stack.PeekValueOptional(3); object filename = stack.PeekValueOptional(4); object lineno = stack.PeekValueOptional(5); object previous = stack.PeekValueOptional(6); stack.RemoveFrame(); return ((ErrorException)instance).__construct(stack.Context, message, code, severity, filename, lineno, previous); }
public static object createFromFormat(object instance, PhpStack stack) { var format = stack.PeekValue(1); var time = stack.PeekValue(2); var timezone = stack.PeekValueOptional(3); stack.RemoveFrame(); return createFromFormat(stack.Context, format, time, timezone); }
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); }
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); }
internal static object PDO_sqliteCreateFunction(object instance, PhpStack stack) { string func_name = PHP.Core.Convert.ObjectToString(stack.PeekValue(1)); PhpCallback callback = PHP.Core.Convert.ObjectToCallback(stack.PeekValue(2)); object nbr = stack.PeekValueOptional(3); stack.RemoveFrame(); int nbr_arg; if (nbr == null) { nbr_arg = -1; } else { nbr_arg = PHP.Core.Convert.ObjectToInteger(nbr); } Delegate d = new Func<object[], object>(callback.Invoke); SQLiteFunction.RegisterFunction(func_name, FunctionType.Scalar, nbr_arg, d); return null; }
public static object lastInsertId(object instance, PhpStack stack) { object name = stack.PeekValueOptional(1); stack.RemoveFrame(); return ((PDO)instance).lastInsertId(stack.Context, name); }
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); }
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); }
public static object getMethods(object instance, PhpStack stack) { var filter = stack.PeekValueOptional(1); stack.RemoveFrame(); return ((ReflectionClass)instance).getMethods(stack.Context, filter); }
public static object export(object instance, PhpStack stack) { stack.CalleeName = "export"; object arg1 = stack.PeekValue(1); object arg2 = stack.PeekValueOptional(2); stack.RemoveFrame(); Reflector typed1 = arg1 as Reflector; if (typed1 == null) { PhpException.InvalidArgumentType("reflector", "Reflector"); return null; } bool typed2 = (ReferenceEquals(arg2, Arg.Default)) ? false : Core.Convert.ObjectToBoolean(arg2); return export(typed1, typed2); }
public static object getProperty(object instance, PhpStack stack) { var name = stack.PeekValueOptional(1); stack.RemoveFrame(); return ((ReflectionClass)instance).getProperty(stack.Context, name); }