<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://gwiki3.thatlinuxbox.com/index.php?action=history&amp;feed=atom&amp;title=PLG_pluginStateChange</id>
		<title>PLG pluginStateChange - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://gwiki3.thatlinuxbox.com/index.php?action=history&amp;feed=atom&amp;title=PLG_pluginStateChange"/>
		<link rel="alternate" type="text/html" href="http://gwiki3.thatlinuxbox.com/index.php?title=PLG_pluginStateChange&amp;action=history"/>
		<updated>2026-04-06T09:26:34Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.27.5</generator>

	<entry>
		<id>http://gwiki3.thatlinuxbox.com/index.php?title=PLG_pluginStateChange&amp;diff=4981&amp;oldid=prev</id>
		<title>Dirk: PLG_pluginStateChange</title>
		<link rel="alternate" type="text/html" href="http://gwiki3.thatlinuxbox.com/index.php?title=PLG_pluginStateChange&amp;diff=4981&amp;oldid=prev"/>
				<updated>2009-05-01T20:14:39Z</updated>
		
		<summary type="html">&lt;p&gt;PLG_pluginStateChange&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;This API function informs a plugin about the change of state of another plugin:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;function PLG_pluginStateChange($type, $status)&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;code&amp;gt;$type&amp;lt;/code&amp;gt; is the name of the plugin whose state has just changed. &amp;lt;code&amp;gt;$status&amp;lt;/code&amp;gt; informs about the plugin's new state and can be one of the following:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;tt&amp;gt;'enabled'&amp;lt;/tt&amp;gt;&lt;br /&gt;
* &amp;lt;tt&amp;gt;'disabled'&amp;lt;/tt&amp;gt;&lt;br /&gt;
* &amp;lt;tt&amp;gt;'installed'&amp;lt;/tt&amp;gt;&lt;br /&gt;
* &amp;lt;tt&amp;gt;'uninstalled'&amp;lt;/tt&amp;gt;&lt;br /&gt;
* &amp;lt;tt&amp;gt;'upgraded'&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Please note that notifications for the (new) state of &amp;lt;tt&amp;gt;'installed'&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;'uninstalled'&amp;lt;/tt&amp;gt;, or &amp;lt;tt&amp;gt;'upgraded'&amp;lt;/tt&amp;gt; are unreliable, as these may happen in the plugin's install script, outside of Geeklog's control (for plugins not using [[Plugin Autoinstall]] or [[Plugin Auto-Uninstall]]).&lt;br /&gt;
&lt;br /&gt;
Unlike &amp;lt;code&amp;gt;PLG_enableStateChange&amp;lt;/code&amp;gt;, this function is called ''after'' the state change has happened.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Plugin Development]]&lt;/div&gt;</summary>
		<author><name>Dirk</name></author>	</entry>

	</feed>