Location: PHPKode > scripts > Joomla MVC Classes > example/hellos.xml
<?xml version="1.0" encoding="ISO-8859-1"?>
<install type="component" version="1.5.0">
<name>Hellos</name>
<creationDate>2010-01-12</creationDate>
<author>Luis Dias</author>
<authorEmail>hide@address.com</authorEmail>
<authorUrl>http://www.smartbyte.com.br</authorUrl>
<copyright>Copyright (C) 2010 Luis Dias</copyright>
<license>GNU General Public License</license>
<version>1.0</version>
<description>Example of JModelLesd, JViewLesd and JControllerLesd classes</description>
<install>
<queries>
<query>
DROP TABLE IF EXISTS `#__hellos`;
</query>
<query>
CREATE TABLE `#__hellos` (
`id` int(11) NOT NULL auto_increment,
`greeting` varchar(25) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=0;
</query>
<query>
INSERT INTO `#__hellos` (`greeting`) VALUES 
('Hello, World'),
('Bonjour, Monde'),
('Ciao, Mondo'),
('Hei maailma'),
('Bonjour tout le monde'),
('Hallo Welt'),
('Hola mundo'),
('Olá mundo');
</query>
</queries>
</install>
<uninstall>
<queries>
<query>
DROP TABLE IF EXISTS `#__hellos`;
</query>
</queries>
</uninstall>
<administration>
<menu>Hello World!</menu>
<files folder="admin">
<filename>hellos.php</filename>
<filename>index.html</filename>
<filename>controllers/hellos.php</filename>
<filename>controllers/index.html</filename>
<filename>models/hellos.php</filename>
<filename>models/index.html</filename>
<filename>tables/hellos.php</filename>
<filename>views/index.html</filename>
<filename>views/hellos/index.html</filename>
<filename>views/hellos/view.html.php</filename>
<filename>views/hellos/tmpl/default.php</filename>
<filename>views/hellos/tmpl/form.php</filename>
<filename>views/hellos/tmpl/index.html</filename>
<filename>libs/jcontrollerlesd.php</filename>
<filename>libs/jmodellesd.php</filename>
<filename>libs/jviewlesd.php</filename>
</files>
</administration>
</install>
Return current item: Joomla MVC Classes