xml_new_from_memory

xml_new_from_memory

GladeXML xml_new_from_memory(string buffer, int size, string root, string domain);

Creates a glade object from a string instead of a file. This can be used to e.g. dynamically load glade user interface definitions from a remote server without having to store them in a file.

The function behaves exactly like the GladeXML constructor, except the fact that you pass a string (and the string length) to the function. Note that - other than the constructor - all parameters are required.

© Copyright 2003-2023 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.