<?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: PHP WSDL Generator new version work in progress</title>
	<atom:link href="http://www.protung.ro/2009/09/php-wsdl-generator-new-version-work-in-progress/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.protung.ro/2009/09/php-wsdl-generator-new-version-work-in-progress/</link>
	<description></description>
	<lastBuildDate>Wed, 10 Nov 2010 17:25:44 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Slava</title>
		<link>http://www.protung.ro/2009/09/php-wsdl-generator-new-version-work-in-progress/comment-page-1/#comment-2045</link>
		<dc:creator>Slava</dc:creator>
		<pubDate>Wed, 27 Oct 2010 09:28:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.protung.ro/?p=177#comment-2045</guid>
		<description>not optimal
	public function getClasses () {
		foreach ($this-&gt;files as $file) {
			$this-&gt;allData = token_get_all(file_get_contents($file));
			$this-&gt;parseFile(file_get_contents($file));
		}
		$this-&gt;filterClasses();
		$this-&gt;parseClasses();
		return $this-&gt;classes;
	}
#####################

optimal:
/**
	 * Get all the parsed classes from the files (filtered)
	 *
	 * @return array
	 */
	public function getClasses () {
		foreach ($this-&gt;files as $file) {
                        $f=file_get_contents($file);
			$this-&gt;allData = token_get_all($f);
			$this-&gt;parseFile($f);
		}
		$this-&gt;filterClasses();
		$this-&gt;parseClasses();
		return $this-&gt;classes;
	}</description>
		<content:encoded><![CDATA[<p>not optimal<br />
	public function getClasses () {<br />
		foreach ($this-&gt;files as $file) {<br />
			$this-&gt;allData = token_get_all(file_get_contents($file));<br />
			$this-&gt;parseFile(file_get_contents($file));<br />
		}<br />
		$this-&gt;filterClasses();<br />
		$this-&gt;parseClasses();<br />
		return $this-&gt;classes;<br />
	}<br />
#####################</p>
<p>optimal:<br />
/**<br />
	 * Get all the parsed classes from the files (filtered)<br />
	 *<br />
	 * @return array<br />
	 */<br />
	public function getClasses () {<br />
		foreach ($this-&gt;files as $file) {<br />
                        $f=file_get_contents($file);<br />
			$this-&gt;allData = token_get_all($f);<br />
			$this-&gt;parseFile($f);<br />
		}<br />
		$this-&gt;filterClasses();<br />
		$this-&gt;parseClasses();<br />
		return $this-&gt;classes;<br />
	}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tarmo Leppänen</title>
		<link>http://www.protung.ro/2009/09/php-wsdl-generator-new-version-work-in-progress/comment-page-1/#comment-1965</link>
		<dc:creator>Tarmo Leppänen</dc:creator>
		<pubDate>Tue, 01 Jun 2010 19:35:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.protung.ro/?p=177#comment-1965</guid>
		<description>What is the status of refactoring this library?</description>
		<content:encoded><![CDATA[<p>What is the status of refactoring this library?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Darius</title>
		<link>http://www.protung.ro/2009/09/php-wsdl-generator-new-version-work-in-progress/comment-page-1/#comment-1961</link>
		<dc:creator>Darius</dc:creator>
		<pubDate>Thu, 27 May 2010 20:31:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.protung.ro/?p=177#comment-1961</guid>
		<description>Did you write an soap client php class?</description>
		<content:encoded><![CDATA[<p>Did you write an soap client php class?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

