<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Getting things in Magento by getModel and getData methods</title>
	<atom:link href="http://activecodeline.com/getting-things-in-magento-by-getmodel-and-getdata-methods/feed" rel="self" type="application/rss+xml" />
	<link>http://activecodeline.com/getting-things-in-magento-by-getmodel-and-getdata-methods</link>
	<description>ActiveCodeline is a blog site of Branko Ajzele, web application developer.</description>
	<lastBuildDate>Fri, 12 Mar 2010 10:42:58 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: suraj Surendran</title>
		<link>http://activecodeline.com/getting-things-in-magento-by-getmodel-and-getdata-methods/comment-page-1#comment-4608</link>
		<dc:creator>suraj Surendran</dc:creator>
		<pubDate>Tue, 16 Feb 2010 09:36:35 +0000</pubDate>
		<guid isPermaLink="false">http://activecodeline.com/?p=241#comment-4608</guid>
		<description>Thank you So much man you are great.............</description>
		<content:encoded><![CDATA[<p>Thank you So much man you are great&#8230;&#8230;&#8230;&#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bob Brodie</title>
		<link>http://activecodeline.com/getting-things-in-magento-by-getmodel-and-getdata-methods/comment-page-1#comment-4489</link>
		<dc:creator>Bob Brodie</dc:creator>
		<pubDate>Tue, 01 Dec 2009 11:47:13 +0000</pubDate>
		<guid isPermaLink="false">http://activecodeline.com/?p=241#comment-4489</guid>
		<description>Hello,&lt;br&gt;&lt;br&gt;How would you recommend creating a new root category using Mage::getModel(&#039;catalog/category&#039;)?&lt;br&gt;&lt;br&gt;Thank you,&lt;br&gt;Bob Brodie</description>
		<content:encoded><![CDATA[<p>Hello,</p>
<p>How would you recommend creating a new root category using Mage::getModel(&#39;catalog/category&#39;)?</p>
<p>Thank you,<br />Bob Brodie</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bob Brodie</title>
		<link>http://activecodeline.com/getting-things-in-magento-by-getmodel-and-getdata-methods/comment-page-1#comment-4451</link>
		<dc:creator>Bob Brodie</dc:creator>
		<pubDate>Tue, 01 Dec 2009 04:47:13 +0000</pubDate>
		<guid isPermaLink="false">http://activecodeline.com/?p=241#comment-4451</guid>
		<description>Hello,&lt;br&gt;&lt;br&gt;How would you recommend creating a new root category using Mage::getModel(&#039;catalog/category&#039;)?&lt;br&gt;&lt;br&gt;Thank you,&lt;br&gt;Bob Brodie</description>
		<content:encoded><![CDATA[<p>Hello,</p>
<p>How would you recommend creating a new root category using Mage::getModel(&#39;catalog/category&#39;)?</p>
<p>Thank you,<br />Bob Brodie</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Devin Olsen</title>
		<link>http://activecodeline.com/getting-things-in-magento-by-getmodel-and-getdata-methods/comment-page-1#comment-4345</link>
		<dc:creator>Devin Olsen</dc:creator>
		<pubDate>Thu, 08 Oct 2009 05:19:34 +0000</pubDate>
		<guid isPermaLink="false">http://activecodeline.com/?p=241#comment-4345</guid>
		<description>really helpful man! The only thing I cant figure out is why they dont allow you to gather a products type via getData(&#039;type&#039;);</description>
		<content:encoded><![CDATA[<p>really helpful man! The only thing I cant figure out is why they dont allow you to gather a products type via getData(&#8216;type&#8217;);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: branko</title>
		<link>http://activecodeline.com/getting-things-in-magento-by-getmodel-and-getdata-methods/comment-page-1#comment-4089</link>
		<dc:creator>branko</dc:creator>
		<pubDate>Mon, 27 Jul 2009 11:34:55 +0000</pubDate>
		<guid isPermaLink="false">http://activecodeline.com/?p=241#comment-4089</guid>
		<description>@Mohit

There are number of articles and even some extensions you can download from this site that should cover your question.</description>
		<content:encoded><![CDATA[<p>@Mohit</p>
<p>There are number of articles and even some extensions you can download from this site that should cover your question.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mohit</title>
		<link>http://activecodeline.com/getting-things-in-magento-by-getmodel-and-getdata-methods/comment-page-1#comment-4088</link>
		<dc:creator>Mohit</dc:creator>
		<pubDate>Mon, 27 Jul 2009 11:22:31 +0000</pubDate>
		<guid isPermaLink="false">http://activecodeline.com/?p=241#comment-4088</guid>
		<description>Hi..

$cModelData = $cModel-&gt;getData();
echo $cModelData-&gt;sku;

This code isnt working. It should be following....

$cModelData = $cModel-&gt;getData();
echo $cModelData[&#039;sku&#039;];

Because $cModel-&gt;getData() is returning array, it need to be accessed as an array element. Arrow operator here will give error.</description>
		<content:encoded><![CDATA[<p>Hi..</p>
<p>$cModelData = $cModel-&gt;getData();<br />
echo $cModelData-&gt;sku;</p>
<p>This code isnt working. It should be following&#8230;.</p>
<p>$cModelData = $cModel-&gt;getData();<br />
echo $cModelData['sku'];</p>
<p>Because $cModel-&gt;getData() is returning array, it need to be accessed as an array element. Arrow operator here will give error.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mohit</title>
		<link>http://activecodeline.com/getting-things-in-magento-by-getmodel-and-getdata-methods/comment-page-1#comment-4087</link>
		<dc:creator>Mohit</dc:creator>
		<pubDate>Mon, 27 Jul 2009 11:14:36 +0000</pubDate>
		<guid isPermaLink="false">http://activecodeline.com/?p=241#comment-4087</guid>
		<description>Hi...

This post is useful to get data. My question is...

How can I store new record into the database...?</description>
		<content:encoded><![CDATA[<p>Hi&#8230;</p>
<p>This post is useful to get data. My question is&#8230;</p>
<p>How can I store new record into the database&#8230;?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ravi</title>
		<link>http://activecodeline.com/getting-things-in-magento-by-getmodel-and-getdata-methods/comment-page-1#comment-3821</link>
		<dc:creator>ravi</dc:creator>
		<pubDate>Fri, 08 May 2009 13:16:08 +0000</pubDate>
		<guid isPermaLink="false">http://activecodeline.com/?p=241#comment-3821</guid>
		<description>hiii, 

i have one question...

when i write getData method it will give me proper data...but i am edit that data ..and now i want to save it.. so how can i save that data ???

example : i make one attribute..now i fetch it on product view page now on add to cart i want to save that attribute data. so how can i do this thing ??

thank you..</description>
		<content:encoded><![CDATA[<p>hiii, </p>
<p>i have one question&#8230;</p>
<p>when i write getData method it will give me proper data&#8230;but i am edit that data ..and now i want to save it.. so how can i save that data ???</p>
<p>example : i make one attribute..now i fetch it on product view page now on add to cart i want to save that attribute data. so how can i do this thing ??</p>
<p>thank you..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ravi</title>
		<link>http://activecodeline.com/getting-things-in-magento-by-getmodel-and-getdata-methods/comment-page-1#comment-3820</link>
		<dc:creator>ravi</dc:creator>
		<pubDate>Fri, 08 May 2009 13:09:01 +0000</pubDate>
		<guid isPermaLink="false">http://activecodeline.com/?p=241#comment-3820</guid>
		<description>hiii,

thank u for nice post. it is very very useful  post..



thank you man</description>
		<content:encoded><![CDATA[<p>hiii,</p>
<p>thank u for nice post. it is very very useful  post..</p>
<p>thank you man</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Yogendra</title>
		<link>http://activecodeline.com/getting-things-in-magento-by-getmodel-and-getdata-methods/comment-page-1#comment-3813</link>
		<dc:creator>Yogendra</dc:creator>
		<pubDate>Thu, 07 May 2009 10:51:49 +0000</pubDate>
		<guid isPermaLink="false">http://activecodeline.com/?p=241#comment-3813</guid>
		<description>Thanks for quick reply. One another thing I am wondering is that how magento is storing the entities values in database. I have created my own module and I have also created few attributes related to my entity_set. And I am also able to create dynamically as per magento database. Please have a look to this thread:
http://www.magentocommerce.com/boards/viewthread/41408/
So if you can guide me than it will really help me to understand magento to great extent. One more thing, we can filter collection by attribute and if I want to filter my collection with field then how can I do this. Thanks in advance brother to guide me.</description>
		<content:encoded><![CDATA[<p>Thanks for quick reply. One another thing I am wondering is that how magento is storing the entities values in database. I have created my own module and I have also created few attributes related to my entity_set. And I am also able to create dynamically as per magento database. Please have a look to this thread:<br />
<a href="http://www.magentocommerce.com/boards/viewthread/41408/" rel="nofollow">http://www.magentocommerce.com/boards/viewthread/41408/</a><br />
So if you can guide me than it will really help me to understand magento to great extent. One more thing, we can filter collection by attribute and if I want to filter my collection with field then how can I do this. Thanks in advance brother to guide me.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
