<?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: Dynamic access to classes in Symfony</title>
	<atom:link href="http://www.symfonylab.com/dynamic-access-to-classes-in-symfony/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.symfonylab.com/dynamic-access-to-classes-in-symfony/</link>
	<description>Everything you wanted to know about Symfony framework but did not know who to ask!</description>
	<lastBuildDate>Thu, 08 Jul 2010 12:47:33 -0700</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Grizvold</title>
		<link>http://www.symfonylab.com/dynamic-access-to-classes-in-symfony/comment-page-1/#comment-444</link>
		<dc:creator>Grizvold</dc:creator>
		<pubDate>Wed, 19 Nov 2008 15:42:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.symfonylab.com/dynamic-access-to-classes-in-symfony/#comment-444</guid>
		<description>&gt;&gt;Eric Lemoine
&gt;&gt;November 18, 2007
Thanx so much, bro! 
Your approach made my script working!</description>
		<content:encoded><![CDATA[<p>&gt;&gt;Eric Lemoine<br />
&gt;&gt;November 18, 2007<br />
Thanx so much, bro!<br />
Your approach made my script working!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Symfony.es &#187; Blog Archive &#187; Una semana con Symfony #19 (12 - 18 noviembre 2007)</title>
		<link>http://www.symfonylab.com/dynamic-access-to-classes-in-symfony/comment-page-1/#comment-148</link>
		<dc:creator>Symfony.es &#187; Blog Archive &#187; Una semana con Symfony #19 (12 - 18 noviembre 2007)</dc:creator>
		<pubDate>Mon, 03 Dec 2007 09:30:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.symfonylab.com/dynamic-access-to-classes-in-symfony/#comment-148</guid>
		<description>[...] Dynamic access to classes in Symfony [...]</description>
		<content:encoded><![CDATA[<p>[...] Dynamic access to classes in Symfony [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rpsblog.com &#187; A week of symfony #46 (12-&#38;gt;18 november 2007)</title>
		<link>http://www.symfonylab.com/dynamic-access-to-classes-in-symfony/comment-page-1/#comment-126</link>
		<dc:creator>rpsblog.com &#187; A week of symfony #46 (12-&#38;gt;18 november 2007)</dc:creator>
		<pubDate>Mon, 19 Nov 2007 12:41:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.symfonylab.com/dynamic-access-to-classes-in-symfony/#comment-126</guid>
		<description>[...] Dynamic access to classes in Symfony [...]</description>
		<content:encoded><![CDATA[<p>[...] Dynamic access to classes in Symfony [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eric Lemoine</title>
		<link>http://www.symfonylab.com/dynamic-access-to-classes-in-symfony/comment-page-1/#comment-125</link>
		<dc:creator>Eric Lemoine</dc:creator>
		<pubDate>Sun, 18 Nov 2007 12:36:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.symfonylab.com/dynamic-access-to-classes-in-symfony/#comment-125</guid>
		<description>Hi

To access class peer attributes, you can do it this way :
constant(&#039;ClassPeer::&#039;.$NAME) ;)

Eric</description>
		<content:encoded><![CDATA[<p>Hi</p>
<p>To access class peer attributes, you can do it this way :<br />
constant(&#8216;ClassPeer::&#8217;.$NAME) <img src='http://www.symfonylab.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Eric</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pedro Trindade</title>
		<link>http://www.symfonylab.com/dynamic-access-to-classes-in-symfony/comment-page-1/#comment-124</link>
		<dc:creator>Pedro Trindade</dc:creator>
		<pubDate>Sun, 18 Nov 2007 12:13:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.symfonylab.com/dynamic-access-to-classes-in-symfony/#comment-124</guid>
		<description>Hi, 

Are you trying to access something like:

$object=ClassPeer::retrieveByPK($id)


If so, i managed to make it work with:

$object=call_user_func(array($this-&gt;getModel().&#039;Peer&#039;, &#039;retrieveByPK&#039;),$this-&gt;getIdItem())</description>
		<content:encoded><![CDATA[<p>Hi, </p>
<p>Are you trying to access something like:</p>
<p>$object=ClassPeer::retrieveByPK($id)</p>
<p>If so, i managed to make it work with:</p>
<p>$object=call_user_func(array($this-&gt;getModel().&#8217;Peer&#8217;, &#8216;retrieveByPK&#8217;),$this-&gt;getIdItem())</p>
]]></content:encoded>
	</item>
</channel>
</rss>
