<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[FrontAccounting forum — $next_extension_id elimination]]></title>
		<link>https://frontaccounting.com/punbb/viewtopic.php?id=5189</link>
		<atom:link href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=5189&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in $next_extension_id elimination.]]></description>
		<lastBuildDate>Tue, 23 Sep 2014 09:12:23 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: $next_extension_id elimination]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=20938#p20938</link>
			<description><![CDATA[<p>The extension id can be unique if it is parsed from the max value of the id in the array and not from the array count.</p><p>When an extension is removed (after de-activation from all domains), will these security parameters too be removed from the security_roles tables and be available for re-use?</p><p>Is there any list of security area_identifiers across all official extensions to prevent unintended re-use across ones from different authors?</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Tue, 23 Sep 2014 09:12:23 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=20938#p20938</guid>
		</item>
		<item>
			<title><![CDATA[Re: $next_extension_id elimination]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=20928#p20928</link>
			<description><![CDATA[<p>Extension id have to be unique, so it cannot be caluculted on the fly from array size. The id is used as a base for security area identifiers provied by extensions, which are stored in security_roles table.<br />Janusz</p>]]></description>
			<author><![CDATA[null@example.com (itronics)]]></author>
			<pubDate>Tue, 23 Sep 2014 07:32:04 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=20928#p20928</guid>
		</item>
		<item>
			<title><![CDATA[$next_extension_id elimination]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=20919#p20919</link>
			<description><![CDATA[<p><strong>$next_extension_id</strong> is stored in the <strong>{webroot}/installed_extensions.php</strong> file.</p><p>It is used in:</p><p>admin/inst_module.php<br />admin/db/maintenance_db.inc ---&gt; writing to the installed_extensions file(s)<br />includes/packages.inc<br />index.php ----------------------------&gt; set during install on CoAs<br />sql/alter2.3/php --------------------&gt; updation of extension array elements</p><p>In general it is declared as a global variable from within functions and used and sometimes incremented. It is never decremented.</p><p>Actually it can be obtained by querying the $installed_extensions array and choosing to be one more than the highest key number or 1 if empty array.</p><p>This way we can make the array in each company (must make it a different name) have the same elements for the activated extensions.</p><p>Is this extension id stored in any FA table as a foreign key?</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Mon, 22 Sep 2014 14:43:19 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=20919#p20919</guid>
		</item>
	</channel>
</rss>
