View Full Version : val(fetch_template(
Blootix
11-18-2008, 03:44 AM
Is eval(fetch_template( still used to output the xml? or is it custom to use some sort of vb class
Dismounted
11-18-2008, 03:52 AM
The XML of what? fetch_template(), as its name suggests, fetches the template from the cache (or database) in its already parsed form. eval() is a default PHP function and treats the string inside as PHP code.
Blootix
11-23-2008, 01:37 AM
The XML is for AJAX processing. I'm asking if I should just write a template in XML or use some sort of XML output construction class.
Dismounted
11-23-2008, 02:36 AM
Use the class "vB_AJAX_XML_Builder" to build and output XML. Have a look at ajax.php. :)
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.