<?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: Method Chaining ใน PHP ทำเองก็ได้ง่ายจัง</title>
	<atom:link href="http://blog.chonla.com/2009/09/method-chaining-%e0%b9%83%e0%b8%99-php-%e0%b8%97%e0%b8%b3%e0%b9%80%e0%b8%ad%e0%b8%87%e0%b8%81%e0%b9%87%e0%b9%84%e0%b8%94%e0%b9%89%e0%b8%87%e0%b9%88%e0%b8%b2%e0%b8%a2%e0%b8%88%e0%b8%b1%e0%b8%87/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.chonla.com/2009/09/method-chaining-%e0%b9%83%e0%b8%99-php-%e0%b8%97%e0%b8%b3%e0%b9%80%e0%b8%ad%e0%b8%87%e0%b8%81%e0%b9%87%e0%b9%84%e0%b8%94%e0%b9%89%e0%b8%87%e0%b9%88%e0%b8%b2%e0%b8%a2%e0%b8%88%e0%b8%b1%e0%b8%87/</link>
	<description>คุยกันเรื่อง jQuery, Ajax, PHP, JSON, XML และ Web Technologies เป็นภาษาไทยกันดีกว่า</description>
	<lastBuildDate>Thu, 02 Feb 2012 09:18:06 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Genetic</title>
		<link>http://blog.chonla.com/2009/09/method-chaining-%e0%b9%83%e0%b8%99-php-%e0%b8%97%e0%b8%b3%e0%b9%80%e0%b8%ad%e0%b8%87%e0%b8%81%e0%b9%87%e0%b9%84%e0%b8%94%e0%b9%89%e0%b8%87%e0%b9%88%e0%b8%b2%e0%b8%a2%e0%b8%88%e0%b8%b1%e0%b8%87/comment-page-1/#comment-1692</link>
		<dc:creator>Genetic</dc:creator>
		<pubDate>Tue, 05 Jan 2010 04:00:02 +0000</pubDate>
		<guid isPermaLink="false">http://blog.chonla.com/?p=228#comment-1692</guid>
		<description>ขอบคุณมาก ๆ เลยนะครับ 

ได้แนวความคิดใหม่ ๆ อีกเยอะเลย แล้วจะมาขอเก็บความรู้บ่อย ๆ นะครับ</description>
		<content:encoded><![CDATA[<p>ขอบคุณมาก ๆ เลยนะครับ </p>
<p>ได้แนวความคิดใหม่ ๆ อีกเยอะเลย แล้วจะมาขอเก็บความรู้บ่อย ๆ นะครับ</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dixon</title>
		<link>http://blog.chonla.com/2009/09/method-chaining-%e0%b9%83%e0%b8%99-php-%e0%b8%97%e0%b8%b3%e0%b9%80%e0%b8%ad%e0%b8%87%e0%b8%81%e0%b9%87%e0%b9%84%e0%b8%94%e0%b9%89%e0%b8%87%e0%b9%88%e0%b8%b2%e0%b8%a2%e0%b8%88%e0%b8%b1%e0%b8%87/comment-page-1/#comment-1593</link>
		<dc:creator>dixon</dc:creator>
		<pubDate>Mon, 05 Oct 2009 15:49:13 +0000</pubDate>
		<guid isPermaLink="false">http://blog.chonla.com/?p=228#comment-1593</guid>
		<description>ผมขอ class Database ตัวเต็มได้มั้ยครับ อยากได้ไปลองศึกษาอะครับ เพิ่งลองเขียนครับ</description>
		<content:encoded><![CDATA[<p>ผมขอ class Database ตัวเต็มได้มั้ยครับ อยากได้ไปลองศึกษาอะครับ เพิ่งลองเขียนครับ</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: chonla</title>
		<link>http://blog.chonla.com/2009/09/method-chaining-%e0%b9%83%e0%b8%99-php-%e0%b8%97%e0%b8%b3%e0%b9%80%e0%b8%ad%e0%b8%87%e0%b8%81%e0%b9%87%e0%b9%84%e0%b8%94%e0%b9%89%e0%b8%87%e0%b9%88%e0%b8%b2%e0%b8%a2%e0%b8%88%e0%b8%b1%e0%b8%87/comment-page-1/#comment-1581</link>
		<dc:creator>chonla</dc:creator>
		<pubDate>Sun, 27 Sep 2009 14:26:24 +0000</pubDate>
		<guid isPermaLink="false">http://blog.chonla.com/?p=228#comment-1581</guid>
		<description>ขอบคุณสำหรับความคิดเห็นครับ ผมเลยได้ความรู้ไปด้วยครับ</description>
		<content:encoded><![CDATA[<p>ขอบคุณสำหรับความคิดเห็นครับ ผมเลยได้ความรู้ไปด้วยครับ</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: golfer007</title>
		<link>http://blog.chonla.com/2009/09/method-chaining-%e0%b9%83%e0%b8%99-php-%e0%b8%97%e0%b8%b3%e0%b9%80%e0%b8%ad%e0%b8%87%e0%b8%81%e0%b9%87%e0%b9%84%e0%b8%94%e0%b9%89%e0%b8%87%e0%b9%88%e0%b8%b2%e0%b8%a2%e0%b8%88%e0%b8%b1%e0%b8%87/comment-page-1/#comment-1580</link>
		<dc:creator>golfer007</dc:creator>
		<pubDate>Sun, 27 Sep 2009 12:18:54 +0000</pubDate>
		<guid isPermaLink="false">http://blog.chonla.com/?p=228#comment-1580</guid>
		<description>อ้อ อีกอย่าง

__destructor() มีเฉพาะใน PHP5 นะครับ

ถ้า PHP4 ต้องพลิกแพลงใช้ฟังก์ชัน register_shutdown_function() เอาครับ</description>
		<content:encoded><![CDATA[<p>อ้อ อีกอย่าง</p>
<p>__destructor() มีเฉพาะใน PHP5 นะครับ</p>
<p>ถ้า PHP4 ต้องพลิกแพลงใช้ฟังก์ชัน register_shutdown_function() เอาครับ</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: golfer007</title>
		<link>http://blog.chonla.com/2009/09/method-chaining-%e0%b9%83%e0%b8%99-php-%e0%b8%97%e0%b8%b3%e0%b9%80%e0%b8%ad%e0%b8%87%e0%b8%81%e0%b9%87%e0%b9%84%e0%b8%94%e0%b9%89%e0%b8%87%e0%b9%88%e0%b8%b2%e0%b8%a2%e0%b8%88%e0%b8%b1%e0%b8%87/comment-page-1/#comment-1579</link>
		<dc:creator>golfer007</dc:creator>
		<pubDate>Sun, 27 Sep 2009 12:13:13 +0000</pubDate>
		<guid isPermaLink="false">http://blog.chonla.com/?p=228#comment-1579</guid>
		<description>&lt;b&gt; constructor ต้องเป็นชื่อเดียวกับ Class ไม่ใช่เหรอครับ &lt;/b&gt;
^
^
^
ใน PHP5  จะใช้ __construct() เป็น constructor แต่หากไม่มี จะหาฟังก์ชันที่มีชื่อเดียวกับคลาสแทนครับ (PHP4 ต้องใช้ฟังก์ชันชื่อเดียวกับคลาสเป็น constructor เท่านั้น)</description>
		<content:encoded><![CDATA[<p><b> constructor ต้องเป็นชื่อเดียวกับ Class ไม่ใช่เหรอครับ </b><br />
^<br />
^<br />
^<br />
ใน PHP5  จะใช้ __construct() เป็น constructor แต่หากไม่มี จะหาฟังก์ชันที่มีชื่อเดียวกับคลาสแทนครับ (PHP4 ต้องใช้ฟังก์ชันชื่อเดียวกับคลาสเป็น constructor เท่านั้น)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: chonla</title>
		<link>http://blog.chonla.com/2009/09/method-chaining-%e0%b9%83%e0%b8%99-php-%e0%b8%97%e0%b8%b3%e0%b9%80%e0%b8%ad%e0%b8%87%e0%b8%81%e0%b9%87%e0%b9%84%e0%b8%94%e0%b9%89%e0%b8%87%e0%b9%88%e0%b8%b2%e0%b8%a2%e0%b8%88%e0%b8%b1%e0%b8%87/comment-page-1/#comment-1569</link>
		<dc:creator>chonla</dc:creator>
		<pubDate>Thu, 17 Sep 2009 09:58:33 +0000</pubDate>
		<guid isPermaLink="false">http://blog.chonla.com/?p=228#comment-1569</guid>
		<description>^
^
ผมกำหนดให้เป็น private คือ จะไม่มีอะไรมาเรียกใช้งานมันได้ นอกจาก object มันเองครับ ผมประกาศไว้แบบนี้ เพื่อให้มันอ้างถึงได้จากทุก ๆ method ใน class นี้ครับ และปกติแล้ว จะกำหนดค่าเริ่มต้นให้มันใน __constructor ครับ ผมไม่แน่ใจว่า เราสามารถกำหนดค่าเริ่มต้นให้ตอนที่ประกาศตัวแปรแบบ

private $order = &quot;&quot;;

ได้เลยหรือเปล่า ไม่เคยลองครับ แต่ผมทำแบบนี้ เพราะติดมาตอนสมัยเขียน c++ ครับ</description>
		<content:encoded><![CDATA[<p>^<br />
^<br />
ผมกำหนดให้เป็น private คือ จะไม่มีอะไรมาเรียกใช้งานมันได้ นอกจาก object มันเองครับ ผมประกาศไว้แบบนี้ เพื่อให้มันอ้างถึงได้จากทุก ๆ method ใน class นี้ครับ และปกติแล้ว จะกำหนดค่าเริ่มต้นให้มันใน __constructor ครับ ผมไม่แน่ใจว่า เราสามารถกำหนดค่าเริ่มต้นให้ตอนที่ประกาศตัวแปรแบบ</p>
<p>private $order = &#8220;&#8221;;</p>
<p>ได้เลยหรือเปล่า ไม่เคยลองครับ แต่ผมทำแบบนี้ เพราะติดมาตอนสมัยเขียน c++ ครับ</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: เต้</title>
		<link>http://blog.chonla.com/2009/09/method-chaining-%e0%b9%83%e0%b8%99-php-%e0%b8%97%e0%b8%b3%e0%b9%80%e0%b8%ad%e0%b8%87%e0%b8%81%e0%b9%87%e0%b9%84%e0%b8%94%e0%b9%89%e0%b8%87%e0%b9%88%e0%b8%b2%e0%b8%a2%e0%b8%88%e0%b8%b1%e0%b8%87/comment-page-1/#comment-1567</link>
		<dc:creator>เต้</dc:creator>
		<pubDate>Wed, 16 Sep 2009 11:23:21 +0000</pubDate>
		<guid isPermaLink="false">http://blog.chonla.com/?p=228#comment-1567</guid>
		<description># private $link;  
#   
#     private $table;  
#     private $field;  
#     private $condition;  
#     private $order;  
#     private $result;  


คือกำหนด ให้ค่านี้ใช้ เป็นค่าที่จะส่งไปมาระหว่างฟังก์ชั่นอันนี้เข้าใจถูกหรือป่าวครับ แล้วมันจำเป็นต้องกำหมดหรือป่าวครับ ผมเห็นบางทีเขาใส่ใน __construct อันนี้เหมือนหรือต่างกันอย่างไรครับ ลบกวนพี่ๆช่วยอธิบายทีครับ</description>
		<content:encoded><![CDATA[<p># private $link;<br />
#<br />
#     private $table;<br />
#     private $field;<br />
#     private $condition;<br />
#     private $order;<br />
#     private $result;  </p>
<p>คือกำหนด ให้ค่านี้ใช้ เป็นค่าที่จะส่งไปมาระหว่างฟังก์ชั่นอันนี้เข้าใจถูกหรือป่าวครับ แล้วมันจำเป็นต้องกำหมดหรือป่าวครับ ผมเห็นบางทีเขาใส่ใน __construct อันนี้เหมือนหรือต่างกันอย่างไรครับ ลบกวนพี่ๆช่วยอธิบายทีครับ</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bAnk`</title>
		<link>http://blog.chonla.com/2009/09/method-chaining-%e0%b9%83%e0%b8%99-php-%e0%b8%97%e0%b8%b3%e0%b9%80%e0%b8%ad%e0%b8%87%e0%b8%81%e0%b9%87%e0%b9%84%e0%b8%94%e0%b9%89%e0%b8%87%e0%b9%88%e0%b8%b2%e0%b8%a2%e0%b8%88%e0%b8%b1%e0%b8%87/comment-page-1/#comment-1550</link>
		<dc:creator>bAnk`</dc:creator>
		<pubDate>Thu, 03 Sep 2009 12:23:18 +0000</pubDate>
		<guid isPermaLink="false">http://blog.chonla.com/?p=228#comment-1550</guid>
		<description>อ่อ มันเป็นแบนี้ นี่เองอ่ะ

เดี๋ยวผมจาไปลอง เขียนของผม ดูมั่ง แต่ คงกำหนด username password ตั้งแต่ ตอนประกาศ New Object อ่ะ อิอิ

ขอบคุณมากครับ</description>
		<content:encoded><![CDATA[<p>อ่อ มันเป็นแบนี้ นี่เองอ่ะ</p>
<p>เดี๋ยวผมจาไปลอง เขียนของผม ดูมั่ง แต่ คงกำหนด username password ตั้งแต่ ตอนประกาศ New Object อ่ะ อิอิ</p>
<p>ขอบคุณมากครับ</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: chonla</title>
		<link>http://blog.chonla.com/2009/09/method-chaining-%e0%b9%83%e0%b8%99-php-%e0%b8%97%e0%b8%b3%e0%b9%80%e0%b8%ad%e0%b8%87%e0%b8%81%e0%b9%87%e0%b9%84%e0%b8%94%e0%b9%89%e0%b8%87%e0%b9%88%e0%b8%b2%e0%b8%a2%e0%b8%88%e0%b8%b1%e0%b8%87/comment-page-1/#comment-1549</link>
		<dc:creator>chonla</dc:creator>
		<pubDate>Thu, 03 Sep 2009 06:48:19 +0000</pubDate>
		<guid isPermaLink="false">http://blog.chonla.com/?p=228#comment-1549</guid>
		<description>ท่าน bank ครับ ผมลองทดสอบแล้วนะครับ ใช้งานได้ไม่มีปัญหาอะไรครับ

ปล. ผมเอา version ที่เอาเรียก connect ตั้งแต่ constructor มาใช้แทนแล้วนะครับ ขอบคุณท่านรุ่งที่ทักมาครับ</description>
		<content:encoded><![CDATA[<p>ท่าน bank ครับ ผมลองทดสอบแล้วนะครับ ใช้งานได้ไม่มีปัญหาอะไรครับ</p>
<p>ปล. ผมเอา version ที่เอาเรียก connect ตั้งแต่ constructor มาใช้แทนแล้วนะครับ ขอบคุณท่านรุ่งที่ทักมาครับ</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: chonla</title>
		<link>http://blog.chonla.com/2009/09/method-chaining-%e0%b9%83%e0%b8%99-php-%e0%b8%97%e0%b8%b3%e0%b9%80%e0%b8%ad%e0%b8%87%e0%b8%81%e0%b9%87%e0%b9%84%e0%b8%94%e0%b9%89%e0%b8%87%e0%b9%88%e0%b8%b2%e0%b8%a2%e0%b8%88%e0%b8%b1%e0%b8%87/comment-page-1/#comment-1548</link>
		<dc:creator>chonla</dc:creator>
		<pubDate>Thu, 03 Sep 2009 06:38:46 +0000</pubDate>
		<guid isPermaLink="false">http://blog.chonla.com/?p=228#comment-1548</guid>
		<description>เป็นแค่ตัวอย่างให้ดูแนวความคิดครับ ตอนผมเอามาใช้จริง ก็ใส่ตั้งแต่ตอน connect แล้วล่ะครับ</description>
		<content:encoded><![CDATA[<p>เป็นแค่ตัวอย่างให้ดูแนวความคิดครับ ตอนผมเอามาใช้จริง ก็ใส่ตั้งแต่ตอน connect แล้วล่ะครับ</p>
]]></content:encoded>
	</item>
</channel>
</rss>

