<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>The Magento Expert</title>
	<atom:link href="http://www.the-mage-expert.com/tag/lib/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.the-mage-expert.com</link>
	<description>Your Magento Commerce Expert</description>
	<lastBuildDate>Tue, 24 Jan 2023 09:37:24 +0000</lastBuildDate>
	<language>en-US</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.8.6</generator>
	<item>
		<title>Adding a custom library / PHP script</title>
		<link>http://www.the-mage-expert.com/1124/adding-custom-library-php-script-to-magento/</link>
		<comments>http://www.the-mage-expert.com/1124/adding-custom-library-php-script-to-magento/#comments</comments>
		<pubDate>Fri, 03 Mar 2017 11:22:26 +0000</pubDate>
		<dc:creator><![CDATA[Mex]]></dc:creator>
				<category><![CDATA[Magento Solutions]]></category>
		<category><![CDATA[Autload]]></category>
		<category><![CDATA[Lib]]></category>

		<guid isPermaLink="false">http://www.the-mage-expert.com/?p=1124</guid>
		<description><![CDATA[If you would like to add your own library / custom PHP script to Magento, simply copy it to the /lib folder and name it the required way. Place your lib into /lib/MyOwnLib/MyLib.php for example and name the class inside&#8230;]]></description>
				<content:encoded><![CDATA[<p>If you would like to add your own library / custom PHP script to Magento, simply copy it to the /lib folder and name it the required way. Place your lib into <strong>/lib/MyOwnLib/MyLib.php</strong> for example and name the class inside MyLib.php MyOwnLib_MyLib and you are done. The class code looks like this:</p><pre class="crayon-plain-tag">class MyOwnLib_MyLib {
    // ...
}</pre><p></p>
<p>You can now load the class everywhere using:</p><pre class="crayon-plain-tag">$myLib = new MyOwnLib_MyLib();</pre><p></p>]]></content:encoded>
			<wfw:commentRss>http://www.the-mage-expert.com/1124/adding-custom-library-php-script-to-magento/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
