<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Tukang Kod</title>
	
	<link>http://kode.fahmi.my</link>
	<description>mencari rezeki dengan mengetuk keyboard</description>
	<lastBuildDate>Fri, 19 Aug 2011 21:24:08 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/kode" /><feedburner:info uri="kode" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>and you are?</title>
		<link>http://feedproxy.google.com/~r/kode/~3/unifXbj7ULo/</link>
		<comments>http://kode.fahmi.my/2011/08/and-your-are/#comments</comments>
		<pubDate>Wed, 10 Aug 2011 16:00:39 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Diri Sendiri]]></category>
		<category><![CDATA[Umum]]></category>

		<guid isPermaLink="false">http://kode.fahmi.my/?p=109</guid>
		<description><![CDATA["Rajin Berkerja, Rajin Bercakap" – Bagus "Rajin Berkerja, Malas Bercakap" – Kena Buli "Malas Berkerja, Rajin Bercakap" – Wayang Cina "Malas Berkerja, Malas Bercakap" – Tak Guna "Malas Berkerja, Suka Mengadu" – Lalat Hijau "Malas Berkerja, Suka Ponteng" – Lebih Baik Berhenti "Malas Berkerja, Suka Termenung" – Lebih Baik Mati "Rajin Berkerja, Rajin Mengadu" – [...]]]></description>
			<content:encoded><![CDATA[<blockquote>
<pre>"Rajin Berkerja, Rajin Bercakap" – Bagus
"Rajin Berkerja, Malas Bercakap" – Kena Buli
"Malas Berkerja, Rajin Bercakap" – Wayang Cina
"Malas Berkerja, Malas Bercakap" – Tak Guna
"Malas Berkerja, Suka Mengadu" – Lalat Hijau
"Malas Berkerja, Suka Ponteng" – Lebih Baik Berhenti
"Malas Berkerja, Suka Termenung" – Lebih Baik Mati
"Rajin Berkerja, Rajin Mengadu" – Kaki Bodek</pre>
</blockquote>
<p><em>quote by Royal Prof Ungku Aziz</em></p>
<img src="http://feeds.feedburner.com/~r/kode/~4/unifXbj7ULo" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://kode.fahmi.my/2011/08/and-your-are/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://kode.fahmi.my/2011/08/and-your-are/</feedburner:origLink></item>
		<item>
		<title>Installing Nginx on CentOS</title>
		<link>http://feedproxy.google.com/~r/kode/~3/8f_DXei3x10/</link>
		<comments>http://kode.fahmi.my/2011/02/installing-nginx-on-centos/#comments</comments>
		<pubDate>Wed, 23 Feb 2011 07:24:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Umum]]></category>

		<guid isPermaLink="false">http://kode.fahmi.my/?p=93</guid>
		<description><![CDATA[Step 6, 7 &#38; 8 are entirely optional 1) sudo yum install pcre-devel zlib-devel openssl-devel 2) mkdir ~/sources 3) cd ~/sources 4) wget http://nginx.org/download/nginx-0.9.5.tar.gz 5) tar -zxvf nginx-0.9.5.tar.gz 6) mv nginx-0.9.5.tar.gz nginx 7) cd nginx [if gcc not available] yum install gcc 9) ./configure &#8211;sbin-path=/sbin/nginx &#8211;conf-path=/usr/local/nginx/nginx.conf &#8211;pid-path=/usr/local/nginx/nginx.pid &#8211;with-http_ssl_module &#8211;with-md5=auto/lib/sha1 10) make 11) make install 12) [...]]]></description>
			<content:encoded><![CDATA[<div id="_mcePaste">Step 6, 7 &amp; 8 are entirely optional</div>
<div>1) sudo yum install pcre-devel zlib-devel openssl-devel</div>
<div id="_mcePaste">2) mkdir ~/sources</div>
<div id="_mcePaste">3) cd ~/sources</div>
<div id="_mcePaste">4) wget http://nginx.org/download/nginx-0.9.5.tar.gz</div>
<div id="_mcePaste">5) tar -zxvf nginx-0.9.5.tar.gz</div>
<div id="_mcePaste">6) mv nginx-0.9.5.tar.gz nginx</div>
<div id="_mcePaste">7) cd nginx</div>
<div id="_mcePaste"> <img src='http://kode.fahmi.my/wp-includes/images/smilies/icon_cool.gif' alt='8)' class='wp-smiley' /> [if gcc not available] yum install gcc</div>
<div id="_mcePaste">9) ./configure &#8211;sbin-path=/sbin/nginx &#8211;conf-path=/usr/local/nginx/nginx.conf &#8211;pid-path=/usr/local/nginx/nginx.pid &#8211;with-http_ssl_module &#8211;with-md5=auto/lib/sha1</div>
<div id="_mcePaste">10) make</div>
<div id="_mcePaste">11) make install</div>
<div id="_mcePaste">12) cd /usr/local/nginx/</div>
<div id="_mcePaste">13) vi nginx.conf</div>
<div id="_mcePaste">14) nginx</div>
<img src="http://feeds.feedburner.com/~r/kode/~4/8f_DXei3x10" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://kode.fahmi.my/2011/02/installing-nginx-on-centos/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://kode.fahmi.my/2011/02/installing-nginx-on-centos/</feedburner:origLink></item>
		<item>
		<title>The Death of Superman</title>
		<link>http://feedproxy.google.com/~r/kode/~3/jEyfY67dHfI/</link>
		<comments>http://kode.fahmi.my/2011/02/the-death-of-superman/#comments</comments>
		<pubDate>Sun, 06 Feb 2011 16:01:54 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Diri Sendiri]]></category>

		<guid isPermaLink="false">http://kode.fahmi.my/?p=84</guid>
		<description />
			<content:encoded><![CDATA[<p><a href="http://kode.fahmi.my/wp-content/uploads/2011/02/superman_death.png"><img class="aligncenter size-full wp-image-85" title="The Death of Superman" src="http://kode.fahmi.my/wp-content/uploads/2011/02/superman_death.png" alt="Superman is dead" width="460" height="460" /></a></p>
<img src="http://feeds.feedburner.com/~r/kode/~4/jEyfY67dHfI" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://kode.fahmi.my/2011/02/the-death-of-superman/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://kode.fahmi.my/2011/02/the-death-of-superman/</feedburner:origLink></item>
		<item>
		<title>Real-time database replication (almost!)</title>
		<link>http://feedproxy.google.com/~r/kode/~3/W8d0-HVfXME/</link>
		<comments>http://kode.fahmi.my/2011/02/real-time-database-replication-almost/#comments</comments>
		<pubDate>Sat, 05 Feb 2011 16:00:32 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Database]]></category>

		<guid isPermaLink="false">http://kode.fahmi.my/?p=75</guid>
		<description><![CDATA[Been fortunate enough to join the first batch (i think!) of Oracle GoldenGate (OGG) in Malaysia. OGG is the real-time database replication app which enhance Oracle Data Integrator (ODI). I&#8217;ve seen the reason why database replication are important nowadays. One that I can relate is the emerging of cloud computing which need replication geographically. Replication [...]]]></description>
			<content:encoded><![CDATA[<div><a href="http://kode.fahmi.my/wp-content/uploads/2011/02/goldengate.png"><img class="aligncenter size-medium wp-image-76" title="goldengate" src="http://kode.fahmi.my/wp-content/uploads/2011/02/goldengate-300x158.png" alt="" width="300" height="158" /></a></div>
<div></div>
<ol>
<li>Been fortunate enough to join the first batch (i think!) of Oracle GoldenGate (OGG) in Malaysia.</li>
<li>OGG is the real-time database replication app which enhance Oracle Data Integrator (ODI).</li>
<li>I&#8217;ve seen the reason why database replication are important nowadays. One that I can relate is the emerging of cloud computing which need replication geographically.</li>
<li>Replication used by Disaster Recovery (DR) not usually replicate real-time.</li>
<li>OGG in my oppinion is not suite for DR eventho it can do the job well.</li>
<li>It suite well for real-time ETL in Data Warehousing and it can be geographically available in almost real-time.</li>
<li>The interesting idea that can be archive via OGG is something like, you can separate heterogeneous database for different function (like oracle for write and mysql for read) and make the data available realtime. This architecture help when lots of reading needed on the data.</li>
<li>Replication can be bi-direction, heterogeneous and multi master multi slave.</li>
</ol>
<img src="http://feeds.feedburner.com/~r/kode/~4/W8d0-HVfXME" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://kode.fahmi.my/2011/02/real-time-database-replication-almost/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://kode.fahmi.my/2011/02/real-time-database-replication-almost/</feedburner:origLink></item>
		<item>
		<title>CakePHP Cookbook updated!</title>
		<link>http://feedproxy.google.com/~r/kode/~3/ZIfmYhVb7bw/</link>
		<comments>http://kode.fahmi.my/2011/02/cakephp-cookbook-updated/#comments</comments>
		<pubDate>Sat, 05 Feb 2011 01:49:59 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[CakePHP]]></category>

		<guid isPermaLink="false">http://kode.fahmi.my/?p=72</guid>
		<description><![CDATA[After almost 3 year using the old design, the team decide make a major facelift to the cookbook. They even put local cache function. kudos!]]></description>
			<content:encoded><![CDATA[<p><a href="http://kode.fahmi.my/wp-content/uploads/2011/02/book.cakephp.org_.png"><img src="http://kode.fahmi.my/wp-content/uploads/2011/02/book.cakephp.org_-300x165.png" alt="" title="book.cakephp.org" width="300" height="165" class="aligncenter size-medium wp-image-73" /></a></p>
<p>After almost 3 year using the old design, the team decide make a major facelift to the cookbook. They even put local cache function. kudos!</p>
<img src="http://feeds.feedburner.com/~r/kode/~4/ZIfmYhVb7bw" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://kode.fahmi.my/2011/02/cakephp-cookbook-updated/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://kode.fahmi.my/2011/02/cakephp-cookbook-updated/</feedburner:origLink></item>
		<item>
		<title>Google Image Upgrade!</title>
		<link>http://feedproxy.google.com/~r/kode/~3/xSEW5jOjfyc/</link>
		<comments>http://kode.fahmi.my/2010/07/google-image-upgrade/#comments</comments>
		<pubDate>Fri, 23 Jul 2010 14:32:49 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Google]]></category>
		<category><![CDATA[Google Image]]></category>
		<category><![CDATA[Image Search]]></category>

		<guid isPermaLink="false">http://kode.fahmi.my/?p=56</guid>
		<description><![CDATA[Ooh! Ahh! Google recently upgrade the image search. More to fine on official Google Blog]]></description>
			<content:encoded><![CDATA[<p>Ooh! Ahh! Google recently upgrade the image search. <img src='http://kode.fahmi.my/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<div id="attachment_57" class="wp-caption aligncenter" style="width: 310px"><a href="http://kode.fahmi.my/wp-content/uploads/2010/07/google_image.png"><img class="size-medium wp-image-57" title="Google Image Search upgrade view on &quot;Malaysia&quot; keyword" src="http://kode.fahmi.my/wp-content/uploads/2010/07/google_image-300x185.png" alt="Google Image Search upgrade view on &quot;Malaysia&quot; keyword" width="300" height="185" /></a><p class="wp-caption-text">New view on Google Image Search</p></div>
<p>More to fine on official <a href="http://googleblog.blogspot.com/2010/07/ooh-ahh-google-images-presents-nicer.html">Google Blog</a></p>
<img src="http://feeds.feedburner.com/~r/kode/~4/xSEW5jOjfyc" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://kode.fahmi.my/2010/07/google-image-upgrade/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://kode.fahmi.my/2010/07/google-image-upgrade/</feedburner:origLink></item>
		<item>
		<title>PHP5.3 : goto</title>
		<link>http://feedproxy.google.com/~r/kode/~3/l7c3szq5xbE/</link>
		<comments>http://kode.fahmi.my/2010/04/php5-3-goto/#comments</comments>
		<pubDate>Mon, 19 Apr 2010 02:43:24 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP5]]></category>

		<guid isPermaLink="false">http://kode.fahmi.my/?p=53</guid>
		<description><![CDATA[Pernah guna fungsi goto? last time aku guna mcm 4-5 tahun dlu. sebab dulu PHP memang takde. /* function lock */ function lock() { $file = fopen("file.txt","r+"); retry: if(flock($file,LOCK_EX)) { fwrite($file, "Success!"); fclose($file); return 0; } else goto retry; } loop dalam function. nice?]]></description>
			<content:encoded><![CDATA[<p>Pernah guna fungsi goto? last time aku guna mcm 4-5 tahun dlu. sebab dulu PHP memang takde.</p>
<pre>
<p class="codebit">/* function lock */
<span class="kw2" style="color: #000000; font-weight: bold;">function</span> lock<span class="br0" style="color: #009900;">(</span><span class="br0" style="color: #009900;">)</span>
<span class="br0" style="color: #009900;">{</span>
    <span class="re0" style="color: #000088;">$file</span> <span class="sy0" style="color: #339933;">=</span> <span class="kw3" style="color: #990000;">fopen</span><span class="br0" style="color: #009900;">(</span><span class="st0" style="color: #0000ff;">"file.txt"</span><span class="sy0" style="color: #339933;">,</span><span class="st0" style="color: #0000ff;">"r+"</span><span class="br0" style="color: #009900;">)</span><span class="sy0" style="color: #339933;">;</span>
    retry<span class="sy0" style="color: #339933;">:</span>
    <span class="kw1" style="color: #b1b100;">if</span><span class="br0" style="color: #009900;">(</span><span class="kw3" style="color: #990000;">flock</span><span class="br0" style="color: #009900;">(</span><span class="re0" style="color: #000088;">$file</span><span class="sy0" style="color: #339933;">,</span>LOCK_EX<span class="br0" style="color: #009900;">)</span><span class="br0" style="color: #009900;">)</span>
    <span class="br0" style="color: #009900;">{</span>
        <span class="kw3" style="color: #990000;">fwrite</span><span class="br0" style="color: #009900;">(</span><span class="re0" style="color: #000088;">$file</span><span class="sy0" style="color: #339933;">,</span> <span class="st0" style="color: #0000ff;">"Success!"</span><span class="br0" style="color: #009900;">)</span><span class="sy0" style="color: #339933;">;</span>
        <span class="kw3" style="color: #990000;">fclose</span><span class="br0" style="color: #009900;">(</span><span class="re0" style="color: #000088;">$file</span><span class="br0" style="color: #009900;">)</span><span class="sy0" style="color: #339933;">;</span>
        <span class="kw1" style="color: #b1b100;">return</span> <span class="nu0" style="color: #cc66cc;">0</span><span class="sy0" style="color: #339933;">;</span>
    <span class="br0" style="color: #009900;">}</span>
    <span class="kw1" style="color: #b1b100;">else</span>
        goto retry<span class="sy0" style="color: #339933;">;</span>
<span class="br0" style="color: #009900;">}</span>

</pre>
<p>loop dalam function. nice?</p>
<img src="http://feeds.feedburner.com/~r/kode/~4/l7c3szq5xbE" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://kode.fahmi.my/2010/04/php5-3-goto/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://kode.fahmi.my/2010/04/php5-3-goto/</feedburner:origLink></item>
		<item>
		<title>CakePHP: Ternary condition</title>
		<link>http://feedproxy.google.com/~r/kode/~3/IkICWfFg5mA/</link>
		<comments>http://kode.fahmi.my/2010/03/cakephp-ternary-condition/#comments</comments>
		<pubDate>Tue, 23 Mar 2010 00:00:25 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[CakePHP]]></category>
		<category><![CDATA[alternative]]></category>
		<category><![CDATA[short function]]></category>

		<guid isPermaLink="false">http://kode.fahmi.my/?p=49</guid>
		<description><![CDATA[Kalau selalu guna if and else, langkah seterusnya mesti tahu ternary condition. ade alternative lain nak guna dalam CakePHP, contoh: /* ife in cakePHP */ ife($condition, $true, $false) jadi, kalau statement ternary tu cam ni: /* ternary condition */ echo ($x)?'x = true':'x = false'; ble ubah jadi macma ni. mudah sket /* replace ternary [...]]]></description>
			<content:encoded><![CDATA[<p>Kalau selalu guna if and else, langkah seterusnya mesti tahu <em>ternary condition</em>. ade alternative lain nak guna dalam CakePHP, contoh:</p>
<pre>
<p class="codebit"> /* ife in cakePHP */
ife($condition, $true, $false)

</pre>
<p>jadi, kalau statement ternary tu cam ni:</p>
<pre>
<p class="codebit">/* ternary condition */
echo ($x)?'x = true':'x = false';

</pre>
<p>ble ubah jadi macma ni. mudah sket</p>
<pre>
<p class="codebit">/* replace ternary with ife in cakePHP */
echo ife($x, 'x = true', 'x = false');

</pre>
<p>urm.. dapat?</p>
<img src="http://feeds.feedburner.com/~r/kode/~4/IkICWfFg5mA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://kode.fahmi.my/2010/03/cakephp-ternary-condition/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://kode.fahmi.my/2010/03/cakephp-ternary-condition/</feedburner:origLink></item>
		<item>
		<title>CakePHP: Kenapa layout masih tak tukar?</title>
		<link>http://feedproxy.google.com/~r/kode/~3/5Wp6RK1cua8/</link>
		<comments>http://kode.fahmi.my/2010/03/cakephp-kenapa-layout-masih-tak-tukar/#comments</comments>
		<pubDate>Mon, 22 Mar 2010 06:28:05 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[CakePHP]]></category>
		<category><![CDATA[beforeFilter]]></category>
		<category><![CDATA[beforeRender]]></category>
		<category><![CDATA[layout]]></category>

		<guid isPermaLink="false">http://kode.fahmi.my/?p=47</guid>
		<description><![CDATA[Kalau malas asik nak declare layout di cakephp, aku akan guna code macam ni. /* before Render */ function beforeRender() { parent::beforeRender(); $this-&#62;layout = 'plugin'; .... } lepas tu aku nak tukar stail layout, misalnya nak guna layout &#8220;ajax&#8221;. jadi aku declare macam ni.. /* children */ function children($id = null) { .... $this-&#62;layout = [...]]]></description>
			<content:encoded><![CDATA[<p>Kalau malas asik nak declare layout di cakephp, aku akan guna code macam ni.</p>
<pre>
<p class="codebit">/* before Render */
function beforeRender()
{
parent::beforeRender();
<strong> $this-&gt;layout = 'plugin';</strong>
....
}

</pre>
<p>lepas tu aku nak tukar stail layout, misalnya nak guna layout &#8220;ajax&#8221;. jadi aku declare macam ni..</p>
<pre>
<p class="codebit">/* children */
function children($id = null)
{
....
<strong>$this-&gt;layout = 'ajax';</strong>
}

</pre>
<p>tapi tak jadi!? kenape? perasan function beforeRender tu?</p>
<p><p class="codebit"> /* before filter */<br />
function beforeFilter()<br />
{<br />
parent::beforeFilter();<br />
&#8230;.<br />
<strong>$this-&gt;layout = &#8216;plugin&#8217;;<br />
</strong> }
</p>
</pre>
<p>baru jadi! sebab beforeRender akan override balik variable sebelum render! sebab tu tak jadi.</p>
<img src="http://feeds.feedburner.com/~r/kode/~4/5Wp6RK1cua8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://kode.fahmi.my/2010/03/cakephp-kenapa-layout-masih-tak-tukar/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://kode.fahmi.my/2010/03/cakephp-kenapa-layout-masih-tak-tukar/</feedburner:origLink></item>
		<item>
		<title>Html helper, link untuk plugin</title>
		<link>http://feedproxy.google.com/~r/kode/~3/ltfj27YoGWc/</link>
		<comments>http://kode.fahmi.my/2010/03/html-helper-link-untuk-plugin/#comments</comments>
		<pubDate>Thu, 18 Mar 2010 04:37:15 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Umum]]></category>
		<category><![CDATA[CakePHP]]></category>
		<category><![CDATA[html::link]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[plugin false]]></category>
		<category><![CDATA[plugin null]]></category>

		<guid isPermaLink="false">http://kode.fahmi.my/?p=43</guid>
		<description><![CDATA[Aku ada masalah nak buat link dari plugin page ke page biasa. mula² jumpa cara macam ni.. $html-&#62;link(__(&#8216;Home&#8217;, true), array(&#8216;root&#8217; =&#62; false, &#8216;plugin&#8217; =&#62; false, &#8216;controller&#8217; =&#62; &#8216;users&#8217;, &#8216;action&#8217; =&#62; &#8216;home&#8217;), array(&#8216;class&#8217; =&#62; &#8216;menu&#8217;)); tapi still tak menjadi.. aku check cake version betul.. 1.2.5 jadi.. setelah mencari² cara macam mana nak reroute balik (kejalan yang [...]]]></description>
			<content:encoded><![CDATA[<p>Aku ada masalah nak buat link dari plugin page ke page biasa.</p>
<p>mula² jumpa cara macam ni..</p>
<blockquote><p>$html-&gt;link(__(&#8216;Home&#8217;, true), array(&#8216;root&#8217; =&gt; false, &#8216;plugin&#8217; =&gt; false, &#8216;controller&#8217; =&gt; &#8216;users&#8217;, &#8216;action&#8217; =&gt; &#8216;home&#8217;), array(&#8216;class&#8217; =&gt; &#8216;menu&#8217;));</p></blockquote>
<p>tapi still tak menjadi.. aku check cake version betul.. 1.2.5</p>
<p>jadi.. setelah mencari² cara macam mana nak reroute balik (kejalan yang benar) siap bukak source asal. rupa² nyer kena guna null. jadi seperti ni.</p>
<blockquote><p>$html-&gt;link(__(&#8216;Home&#8217;, true), array(&#8216;root&#8217; =&gt; false, &#8216;plugin&#8217; =&gt; null, &#8216;controller&#8217; =&gt; &#8216;users&#8217;, &#8216;action&#8217; =&gt; &#8216;home&#8217;), array(&#8216;class&#8217; =&gt; &#8216;menu&#8217;));</p></blockquote>
<p>kenapa false tak ok? pelik tapi benar</p>
<img src="http://feeds.feedburner.com/~r/kode/~4/ltfj27YoGWc" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://kode.fahmi.my/2010/03/html-helper-link-untuk-plugin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://kode.fahmi.my/2010/03/html-helper-link-untuk-plugin/</feedburner:origLink></item>
	</channel>
</rss>

