public static object registerNamespace(object instance, PhpStack stack) { stack.CalleeName = "registerNamespace"; object arg1 = stack.PeekValue(1); object arg2 = stack.PeekValue(2); stack.RemoveFrame(); return ((DOMXPath)instance).registerNamespace(stack.Context, arg1, arg2); }
public static object __soapCall(object instance, PhpStack stack) { stack.CalleeName = "__soapCall"; object arg1 = stack.PeekValue(1); object arg2 = stack.PeekValue(2); stack.RemoveFrame(); return ((SoapClient)instance).__soapCall(stack.Context, arg1, arg2); }
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 __construct(object instance, PhpStack stack) { stack.CalleeName = "__construct"; object arg1 = stack.PeekValue(1); stack.RemoveFrame(); return ((DOMXPath)instance).__construct(stack.Context, arg1); }
public static object item(object instance, PhpStack stack) { stack.CalleeName = "item"; object arg1 = stack.PeekValue(1); stack.RemoveFrame(); return ((DOMNodeList)instance).item(stack.Context, arg1); }
public static object __construct(object instance, PhpStack stack) { object argDSN = stack.PeekValue(1); object argUsername = stack.PeekReferenceOptional(2); object argPassword = stack.PeekReferenceOptional(3); object argDriverOptions = stack.PeekReferenceOptional(4); stack.RemoveFrame(); return ((PDO)instance).__construct(stack.Context, argDSN, argUsername, argPassword, argDriverOptions); }
public static object Foo(object instance, PhpStack stack) { // setup the stack, get arguments from the stack stack.CalleeName = "Foo"; object arg1 = stack.PeekValue(1); stack.RemoveFrame(); // call the actual Foo with arguments obtained from the stack return ((MyPhpClass)instance).Foo(stack.Context, arg1); }
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 getModifierNames(object instance, PhpStack stack) { stack.CalleeName = "getModifierNames"; object arg1 = stack.PeekValue(1); stack.RemoveFrame(); int typed1 = Core.Convert.ObjectToInteger(arg1); return getModifierNames(typed1); }
public static object __construct(object instance, PhpStack stack) { var filename = stack.PeekValue(1); stack.RemoveFrame(); return ((SplFileInfo)instance).__construct(stack.Context, filename); }
public static new object __construct(object instance, PhpStack stack) { var path = stack.PeekValue(1); stack.RemoveFrame(); return ((DirectoryIterator)instance).__construct(stack.Context, path); }
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); }
[EditorBrowsable(EditorBrowsableState.Never)] public static object setTime(object instance, PhpStack stack) { var arg1 = stack.PeekValue(1); var arg2 = stack.PeekValue(2); var arg3 = stack.PeekValue(3); stack.RemoveFrame(); return ((__PHP__DateTime)instance).setTime(stack.Context, arg1, arg2, arg3);
public static object uksort(object instance, PhpStack stack) { var cmp_function = stack.PeekValue(1); stack.RemoveFrame(); return ((ArrayIterator)instance).uksort(stack.Context, cmp_function); }
public static object modify(object instance, PhpStack stack) { var modify = stack.PeekValue(1); stack.RemoveFrame(); return ((__PHP__DateTime)instance).modify(stack.Context, modify); }
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 object append(object instance, PhpStack stack) { var value = stack.PeekValue(1); stack.RemoveFrame(); return ((ArrayIterator)instance).append(stack.Context, value); }
public static object getAttribute(object instance, PhpStack stack) { object attribute = stack.PeekValue(1); stack.RemoveFrame(); return ((PDO)instance).getAttribute(stack.Context, attribute); }
public static object offsetSet(object instance, PhpStack stack) { object index = stack.PeekValue(1); object value = stack.PeekValue(2); stack.RemoveFrame(); return ((ArrayIterator)instance).offsetSet(stack.Context, index, value); }
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); }
public static object offsetExists(object instance, PhpStack stack) { object index = stack.PeekValue(1); stack.RemoveFrame(); return ((ArrayIterator)instance).offsetExists(stack.Context, index); }
public static object exec(object instance, PhpStack stack) { object statement = stack.PeekValue(1); stack.RemoveFrame(); return ((PDO)instance).exec(stack.Context, statement); }
public static object unserialize(object instance, PhpStack stack) { object data = stack.PeekValue(1); stack.RemoveFrame(); return ((ArrayIterator)instance).unserialize(stack.Context, data); }
public static object seek(object instance, PhpStack stack) { object position = stack.PeekValue(1); stack.RemoveFrame(); return ((DirectoryIterator)instance).seek(stack.Context, position); }
public static object __call(object instance, PhpStack stack) { var name = stack.PeekValue(1); var args = stack.PeekValue(2); stack.RemoveFrame(); return ((IteratorIterator)instance).__call(stack.Context, name, args); }
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 setTimeZone(object instance, PhpStack stack) { var tz = stack.PeekValue(1); stack.RemoveFrame(); return ((__PHP__DateTime)instance).setTimeZone(stack.Context, tz); }
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 format(object instance, PhpStack stack) { var format = stack.PeekValue(1); stack.RemoveFrame(); return ((__PHP__DateTime)instance).format(stack.Context, format); }