aboutsummaryrefslogtreecommitdiff
path: root/documentation/examples/plugins/manifest.xml
blob: a61106e6270e42ea7be98bfb4147860e4505a123 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
<?xml version="1.0" encoding="UTF-8"?>
<plugin_manifest version="1.8">
	<name>My Plugin</name>
	<author>Elgg</author>
	<version>1.0</version>
	<blurb>A concise description.</blurb>
	<description>This is a longer, more interesting description of my plugin, its features, and other important information.</description>
	<website>http://www.elgg.org/</website>
	<copyright>(C) Elgg 2010</copyright>
	<license>GNU Public License version 2</license>

	<requires>
		<type>elgg_version</type>
		<version>2009030802</version>
	</requires>

	<requires>
		<type>elgg_release</type>
		<version>1.8-svn</version>
	</requires>

	<screenshot>
		<description>An example screenshot</description>
		<path>graphics/plugin_ss1.png</path>
	</screenshot>

	<screenshot>
		<description>Another screenshot</description>
		<path>graphics/plugin_ss2.png</path>
	</screenshot>

	<category>Admin</category>
	<category>ServiceAPI</category>

	<on_enable>setup_function</on_enable>
	<on_disable>teardown_function</on_disable>
	<admin_interface>simple</admin_interface>

	<requires>
		<type>php_extension</type>
		<name>gd</name>
	</requires>

	<requires>
		<type>php_ini</type>
		<name>short_open_tag</name>
		<value>off</value>
	</requires>

	<requires>
		<type>php_extension</type>
		<name>made_up</name>
		<version>1.0</version>
	</requires>

	<requires>
		<type>plugin</type>
		<name>fake_plugin</name>
		<version>1.0</version>
	</requires>

	<requires>
		<type>plugin</type>
		<name>profile</name>
		<version>1.0</version>
	</requires>

	<requires>
		<type>plugin</type>
		<name>profile_api</name>
		<version>1.3</version>
		<comparison>lt</comparison>
	</requires>

	<requires>
		<type>priority</type>
		<priority>after</priority>
		<plugin>blog</plugin>
	</requires>

	<conflicts>
		<type>plugin</type>
		<name>profile_api</name>
		<version>1.0</version>
	</conflicts>

	<provides>
		<type>plugin</type>
		<name>profile_api</name>
		<version>1.3</version>
	</provides>

	<provides>
		<type>php_extension</type>
		<name>curl</name>
		<version>1.0</version>
	</provides>

</plugin_manifest>