How deep the changes in the API should be?

14.8% 18
13.9% 17
13.9% 17
57.4% 70

122 Date 2009-04-20 03:09

Forums / Cotonti / Core Labs / Archive / Poll: Plugin API changes

How far can we go?

Xerora
#13130 2009-06-11 09:18
I didn't really dig through the thread, but as far as the setup file, I suggest it being an xml file. It seems much cleaner and easier than nesting a load of arrays.

<?xml version="1.0" encoding="UTF-8" ?>
<setup version="1.0">

	<information>
                <type>module</type>
		<code>gallery</code>
		<name>Gallery</name>
	</information>
	
	<hooks>
		<hook location="standalone" file="photos" order="1" />
                <hook location="main.first" file="loader" order="2" />
	</hooks>
	
</setup>