<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[FrontAccounting forum — Does extending core classes fall under the extension framework?]]></title>
		<link>https://frontaccounting.com/punbb/viewtopic.php?id=2518</link>
		<atom:link href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=2518&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Does extending core classes fall under the extension framework?.]]></description>
		<lastBuildDate>Wed, 23 Nov 2011 12:31:45 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Does extending core classes fall under the extension framework?]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=10870#p10870</link>
			<description><![CDATA[<p>I&#039;m not sure what you mean by &#039;extending core clases&#039;. I guess the right solution for you is using db_postwrite() hook defined in your extension hook class derived from general hooks class (see includes/hooks.inc). If this method is defined, it is called just after transaction is stored in database - see add_po() function in purchasing/includes/po_db.inc.</p><p>Janusz</p>]]></description>
			<author><![CDATA[null@example.com (itronics)]]></author>
			<pubDate>Wed, 23 Nov 2011 12:31:45 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=10870#p10870</guid>
		</item>
		<item>
			<title><![CDATA[Re: Does extending core classes fall under the extension framework?]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=10852#p10852</link>
			<description><![CDATA[<p>Anybody?</p><p>...I&#039;m under the impression that if I want to extend core classes I should just do so in the original code.&nbsp; That there is no extension framework for extending core functionality.&nbsp; Is this true?</p>]]></description>
			<author><![CDATA[null@example.com (mtleng)]]></author>
			<pubDate>Tue, 22 Nov 2011 13:25:38 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=10852#p10852</guid>
		</item>
		<item>
			<title><![CDATA[Does extending core classes fall under the extension framework?]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=10747#p10747</link>
			<description><![CDATA[<p>Just a little confused after reading the description of the FA extensions framework (https://frontaccounting.com/fawiki/index.php?n=Devel.Extensions).&nbsp; Could someone clarify how the desired modification described below will fit into the extension framework?</p><p>I am not looking to add a new menu option or tab, but simply extend existing core functionality.&nbsp; Specifically, after a purchase order is processed/received I would like to add an additional call to a new function.&nbsp; Shouldn&#039;t matter what this new function does, but in my case it will be using cURL to update 3rd party s/w.</p><p>Will a mod like this (true class extension) fit into the FA extension framework and, if so, which one (plugin or module)? Or should I just modify the appropriate core class directly and track changes via source control (SVN, CVS, etc.)?</p>]]></description>
			<author><![CDATA[null@example.com (mtleng)]]></author>
			<pubDate>Wed, 16 Nov 2011 17:12:48 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=10747#p10747</guid>
		</item>
	</channel>
</rss>
