PageRenderTime 12ms CodeModel.GetById 1ms app.highlight 6ms RepoModel.GetById 1ms app.codeStats 0ms

/plugins/guild_rep/install.def.php

http://wowroster.googlecode.com/
PHP | 74 lines | 39 code | 12 blank | 23 comment | 0 complexity | 3b4b71613796ec2fafa3ca7f47049849 MD5 | raw file
 1<?php
 2
 3class guild_repInstall
 4{
 5
 6	var $members_list_select;
 7	var $members_list_table;
 8	var $members_list_where = array();
 9	var $members_list_fields = array();
10
11	/*
12	*	These Vars are used with the new Plugin installer
13	*	@var name - unique name for the plugin
14	*	@var parent - the intended addon to use this plugin
15	*
16	*/
17	var $active = true;
18	var $name = 'guild_rep';
19	var $filename = 'memberslist-guild-guild_rep.php';
20	var $parent = 'memberslist';
21	var $scope = 'guild';
22	var $icon = 'inv_misc_film_01';
23	var $version = '1.0';
24	var $oldversion = '';
25	var $wrnet_id = '';
26
27	var $fullname = 'MembersList Guild Rep';
28	var $description = 'displays guildrep on members list.';
29	var $credits = array(
30		array(	"name"=>	"Ulminia <Ulminia@gmail.com>",
31				"info"=>	"Guild Rep (Alpha Release)"),
32	);
33
34
35		/**
36	 * Install Function
37	 *
38	 * @return bool
39	 */
40	function install()
41	{
42		global $installer;
43		return true;
44	}
45
46	/**
47	 * Upgrade Function
48	 *
49	 * @param string $oldversion
50	 * @return bool
51	 */
52	function upgrade($oldversion)
53	{
54	     global $installer,$addon,$roster;
55		// Nothing to upgrade from yet
56		return true;
57
58	}
59
60	/**
61	 * Un-Install Function
62	 *
63	 * @return bool
64	 */
65	function uninstall()
66	{
67		global $installer, $addon;
68		return true;
69	}
70
71
72}
73
74?>