<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-5214020173901710082</id><updated>2024-10-07T06:10:46.230+01:00</updated><category term="P4A"/><category term="PHP"/><category term="CreaLabs"/><category term="e-Socrates"/><title type='text'>This is not Andrea&#39;s diary</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://andreagiardina.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5214020173901710082/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://andreagiardina.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Andrea</name><uri>http://www.blogger.com/profile/15621346367282626830</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgyzzmEnmEkJe7UlHDYJOgblBiC0F-OHisv7_26ln0chOWwwyJTE23XJ9jjWA0BhKi4myDcnRUyyNeVQMnrNPQsUuANYj2pCI-xcccWkFpJD0FoTCOXzf6CIKriz_2ybeM/s220/avatar10.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>4</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-5214020173901710082.post-5097908540137665154</id><published>2009-01-01T14:52:00.011+00:00</published><updated>2009-01-01T17:38:03.486+00:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="P4A"/><category scheme="http://www.blogger.com/atom/ns#" term="PHP"/><title type='text'>P4A Table, a delete row helper</title><content type='html'>Sometimes, when I work with P4A, I prefer to allow the deletion of a record with a click on the table row. Look at this screenshot to have an idea:&lt;br /&gt;&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgK2FMSzX6nFeKgkEKKhYsvofrZnHdPHAIiOylYsy8Tgrm52DoglspD8R0UeLMsa5oDcKgrAOPOtmUKqtG854k1DeV31OrODtuP92ctj1ysCYsGykzN4Qehur2Q25REadh1BP7wcj5fA9-A/s1600-h/p4a_table_delete_row.png&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 232px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgK2FMSzX6nFeKgkEKKhYsvofrZnHdPHAIiOylYsy8Tgrm52DoglspD8R0UeLMsa5oDcKgrAOPOtmUKqtG854k1DeV31OrODtuP92ctj1ysCYsGykzN4Qehur2Q25REadh1BP7wcj5fA9-A/s400/p4a_table_delete_row.png&quot; border=&quot;0&quot; alt=&quot;&quot;id=&quot;BLOGGER_PHOTO_ID_5286353486759062162&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Doing that with P4A is not hard: you have to add an action col, intercept the afterClick event and then call the db_source deleteRow event. Yet now it&#39;s even simpler because we have added the addDeleteRow helper to the P4A core :&lt;br /&gt;&lt;br /&gt;&lt;pre name=&quot;code&quot; class=&quot;Php&quot;&gt;&lt;br /&gt;$mytable-&gt;addDeleteRow();&lt;br /&gt;&lt;/pre&gt; &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;If you want you can also call the helper with a custom label col and a custom confirmation message:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;$mytable-&gt;addDeleteRow(&#39;Delete Row&#39;,&#39;Do you want to delete this row?&#39;);&lt;br /&gt;&lt;/code&gt;&lt;br /&gt; &lt;br /&gt;You can find this helper in the svn repository or you can copy and past my code in the libraries directory:&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;span style=&quot;color: #000000&quot;&gt;&lt;br /&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;function&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;P4A_Table_addDeleteRow&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$table&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;,&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$params&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;)&amp;nbsp;&amp;nbsp;&lt;br /&gt;{&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if&amp;nbsp;(isset(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$params&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;0&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;]))&amp;nbsp;{&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$col_label&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$params&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;0&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;];&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&amp;nbsp;else&amp;nbsp;{&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$col_label&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#39;Delete&#39;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if&amp;nbsp;(isset(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$params&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;1&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;]))&amp;nbsp;{&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$message&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$params&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;1&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;];&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&amp;nbsp;else&amp;nbsp;{&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$message&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#39;Delete&amp;nbsp;current&amp;nbsp;element&#39;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$table&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;-&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;addActionCol&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#39;delete&#39;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$table&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;-&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;cols&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;-&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;delete&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;-&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;setWidth&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;150&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;-&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;setLabel&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$col_label&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;-&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;requireConfirmation&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#39;onClick&#39;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;,&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$message&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$table&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;-&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;data&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;-&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;intercept&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$table&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;-&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;cols&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;-&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;delete&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#39;afterClick&#39;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#39;deleteRow&#39;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;);&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;return&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$table&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;;&lt;br /&gt;}&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Happy P4A hacking!</content><link rel='replies' type='application/atom+xml' href='http://andreagiardina.blogspot.com/feeds/5097908540137665154/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/5214020173901710082/5097908540137665154' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5214020173901710082/posts/default/5097908540137665154'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5214020173901710082/posts/default/5097908540137665154'/><link rel='alternate' type='text/html' href='http://andreagiardina.blogspot.com/2009/01/p4a-table-delete-row-helper.html' title='P4A Table, a delete row helper'/><author><name>Andrea</name><uri>http://www.blogger.com/profile/15621346367282626830</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgyzzmEnmEkJe7UlHDYJOgblBiC0F-OHisv7_26ln0chOWwwyJTE23XJ9jjWA0BhKi4myDcnRUyyNeVQMnrNPQsUuANYj2pCI-xcccWkFpJD0FoTCOXzf6CIKriz_2ybeM/s220/avatar10.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgK2FMSzX6nFeKgkEKKhYsvofrZnHdPHAIiOylYsy8Tgrm52DoglspD8R0UeLMsa5oDcKgrAOPOtmUKqtG854k1DeV31OrODtuP92ctj1ysCYsGykzN4Qehur2Q25REadh1BP7wcj5fA9-A/s72-c/p4a_table_delete_row.png" height="72" width="72"/><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5214020173901710082.post-2992875725580071822</id><published>2008-12-28T14:51:00.007+00:00</published><updated>2008-12-28T15:54:22.506+00:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="P4A"/><category scheme="http://www.blogger.com/atom/ns#" term="PHP"/><title type='text'>P4A 3.2 is out!</title><content type='html'>Yes, P4A 3.2 is finally out!&lt;br /&gt;&lt;br /&gt;The &lt;a href=&quot;http://p4a.svn.sourceforge.net/viewvc/p4a/tags/3.2.0/CHANGELOG?view=markup&quot;&gt;Changelog&lt;/a&gt; is really long but there are 3 big news to focus on:&lt;br /&gt;&lt;ol&gt;&lt;li&gt;P4A is now released under &lt;a href=&quot;http://www.gnu.org/licenses/lgpl.html&quot;&gt;LGPL 3&lt;/a&gt;. This means more flexibility for developers and customers.&lt;/li&gt;&lt;li&gt;A new widget, the &lt;a href=&quot;http://andreagiardina.blogspot.com/2008/10/big-news-for-incoming-p4a-32.html&quot;&gt;P4A_Grid&lt;/a&gt;, has been added to fast table data editing.&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;http://p4a.svn.sourceforge.net/viewvc/p4a/trunk/p4a/p4a/objects/masks/base_masks/simple_edit.php?view=markup&quot;&gt;P4A_Simple_Edit_Mask&lt;/a&gt; has been added to quickly create a simple mask to edit a database table.&lt;/li&gt;&lt;/ol&gt;&lt;br /&gt;To download P4A 3.2 visit:&lt;br /&gt;&lt;a href=&quot;http://sourceforge.net/project/showfiles.php?group_id=98294&amp;amp;package_id=105252&amp;amp;release_id=647599&quot;&gt;http://sourceforge.net/project/showfiles.php?group_id=98294&amp;amp;package_id=105252&amp;amp;release_id=647599&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Happy P4A hacking :)</content><link rel='replies' type='application/atom+xml' href='http://andreagiardina.blogspot.com/feeds/2992875725580071822/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/5214020173901710082/2992875725580071822' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5214020173901710082/posts/default/2992875725580071822'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5214020173901710082/posts/default/2992875725580071822'/><link rel='alternate' type='text/html' href='http://andreagiardina.blogspot.com/2008/12/p4a-32-is-out.html' title='P4A 3.2 is out!'/><author><name>Andrea</name><uri>http://www.blogger.com/profile/15621346367282626830</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgyzzmEnmEkJe7UlHDYJOgblBiC0F-OHisv7_26ln0chOWwwyJTE23XJ9jjWA0BhKi4myDcnRUyyNeVQMnrNPQsUuANYj2pCI-xcccWkFpJD0FoTCOXzf6CIKriz_2ybeM/s220/avatar10.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5214020173901710082.post-3813879279580711179</id><published>2008-10-11T14:06:00.009+01:00</published><updated>2008-10-13T09:59:20.603+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="P4A"/><category scheme="http://www.blogger.com/atom/ns#" term="PHP"/><title type='text'>Big news for the incoming P4A 3.2</title><content type='html'>Yes, big news for the incoming P4A 3.2&lt;br /&gt;&lt;br /&gt;I&#39;ve just finished to commit the first beta release of a new widget: the p4a_grid. &lt;br /&gt;What is it? It&#39;s simply an editable table. This widget has been for a lot of time a highly requested feature so now I&#39;m really happy to have it :) There&#39;s a lot of work to be done to have the perfect widget, for example to add checkbox cells and combo box cells, but now it already does a good job.   &lt;br /&gt;&lt;br /&gt;Using the p4a_grid is similar to using the p4a_table:&lt;br /&gt;&lt;br /&gt;$this-&gt;build(&quot;p4a_grid&quot;, &quot;grid&quot;)&lt;br /&gt; -&gt;setWidth(600)&lt;br /&gt; -&gt;setSource($this-&gt;source)&lt;br /&gt; -&gt;setVisibleCols(array(&quot;product_id&quot;, &quot;model&quot;, &quot;date_arrival&quot;, &quot;category&quot;, &quot;brand&quot;));&lt;br /&gt;&lt;br /&gt;Now you have two options: &lt;br /&gt;&lt;br /&gt;1) Using the &quot;autosave&quot; method to save automatically the changed values to database  &lt;br /&gt;&lt;br /&gt;$this-&gt;grid-&gt;autosave(); &lt;br /&gt;&lt;br /&gt;2) Intercepting the onChange event if you need to add more complex business logic:&lt;br /&gt;&lt;br /&gt;$this-&gt;intercept($this-&gt;grid,&#39;onChange&#39;,&#39;myhandler&#39;);&lt;br /&gt;...&lt;br /&gt;function myhandler($obj,$params){&lt;br /&gt;/* &lt;br /&gt;$params[0] -&gt; the primary key value&lt;br /&gt;$params[1] -&gt; the column name&lt;br /&gt;$params[2] -&gt; the formatted new value&lt;br /&gt;$params[3] -&gt; the unformatted new value&lt;br /&gt;*/&lt;br /&gt;... &lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;If you want to try it checkout it from svn and please give me your feedback :)</content><link rel='replies' type='application/atom+xml' href='http://andreagiardina.blogspot.com/feeds/3813879279580711179/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/5214020173901710082/3813879279580711179' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5214020173901710082/posts/default/3813879279580711179'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5214020173901710082/posts/default/3813879279580711179'/><link rel='alternate' type='text/html' href='http://andreagiardina.blogspot.com/2008/10/big-news-for-incoming-p4a-32.html' title='Big news for the incoming P4A 3.2'/><author><name>Andrea</name><uri>http://www.blogger.com/profile/15621346367282626830</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgyzzmEnmEkJe7UlHDYJOgblBiC0F-OHisv7_26ln0chOWwwyJTE23XJ9jjWA0BhKi4myDcnRUyyNeVQMnrNPQsUuANYj2pCI-xcccWkFpJD0FoTCOXzf6CIKriz_2ybeM/s220/avatar10.jpg'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5214020173901710082.post-4670804806129921828</id><published>2008-07-20T11:42:00.001+01:00</published><updated>2008-07-20T17:54:36.771+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="CreaLabs"/><category scheme="http://www.blogger.com/atom/ns#" term="e-Socrates"/><category scheme="http://www.blogger.com/atom/ns#" term="P4A"/><title type='text'>Some unuseful things you have to know about me</title><content type='html'>&lt;ol&gt;&lt;li&gt;This is not a personal blog but a technical blog, so probably this is a really no- interesting blog for &quot;normal&quot; people (read no-nerd people)&lt;/li&gt;&lt;li&gt;I&#39;m a Web Developer (or a  Web Architect when I want to show-off :P ) so you can read here about Web, PHP and similar amenities.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;I&#39;m a free-software-aholic: poor you, I&#39;ll speak you about &lt;strike&gt;Rocco&lt;/strike&gt; Linux and his brothers .&lt;br /&gt;&lt;/li&gt;&lt;li&gt;I&#39;ll write a lot about my project &lt;a href=&quot;http://p4a.crealabsfoundation.org/&quot;&gt;P4A&lt;/a&gt;. If you don&#39;t know P4A you are bad and evil, and probably you have also the &lt;span style=&quot;cursor: pointer;&quot; onclick=&quot;&#39;dr4sdgryt(event,&quot;&gt;&lt;span class=&quot;sg&quot;&gt;&lt;span class=&quot;se1&quot;&gt;&lt;span class=&quot;trn&quot;&gt;worst breath in the Universe :)&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;I&#39;ll write &lt;span style=&quot;cursor: pointer;&quot; onclick=&quot;&#39;dr4sdgryt(event,&quot;&gt;&lt;span class=&quot;sg&quot;&gt;&lt;span class=&quot;se1&quot;&gt;&lt;span class=&quot;trn&quot;&gt;also about &lt;a href=&quot;http://www.e-socrates.org/&quot;&gt;e-socrates.org&lt;/a&gt; community, the &lt;span style=&quot;font-weight: bold;&quot;&gt;free&lt;/span&gt; Moodle hosting, &lt;span style=&quot;font-weight: bold;&quot;&gt;free&lt;/span&gt; like &lt;span style=&quot;font-weight: bold;&quot;&gt;free&lt;/span&gt; beer, &lt;span style=&quot;font-weight: bold;&quot;&gt;free&lt;/span&gt; like &lt;span style=&quot;font-weight: bold;&quot;&gt;free&lt;/span&gt; speech. If you want to start a &lt;span style=&quot;font-weight: bold;&quot;&gt;free&lt;/span&gt; course you can get a &lt;span style=&quot;font-weight: bold;&quot;&gt;free&lt;/span&gt; account and start to teach for &lt;span style=&quot;font-weight: bold;&quot;&gt;free&lt;/span&gt;. Yes, I know, I&#39;m also &lt;span style=&quot;font-weight: bold;&quot;&gt;free&lt;/span&gt;-aholic!&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;cursor: pointer;&quot; onclick=&quot;&#39;dr4sdgryt(event,&quot;&gt;&lt;span class=&quot;sg&quot;&gt;&lt;span class=&quot;se1&quot;&gt;&lt;span class=&quot;trn&quot;&gt;I founded &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;cursor: pointer;&quot; onclick=&quot;&#39;dr4sdgryt(event,&quot;&gt;&lt;span class=&quot;sg&quot;&gt;&lt;span class=&quot;se1&quot;&gt;&lt;span class=&quot;trn&quot;&gt;with my friend &lt;a href=&quot;http://fabrizioballiano.net/&quot;&gt;Fabrizio&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;cursor: pointer;&quot; onclick=&quot;&#39;dr4sdgryt(event,&quot;&gt;&lt;span class=&quot;sg&quot;&gt;&lt;span class=&quot;se1&quot;&gt;&lt;span class=&quot;trn&quot;&gt; &lt;a href=&quot;http://www.crealabs.it/&quot;&gt;CreaLabs&lt;/a&gt;, the smallest and coolest web/floss agency in the world :) So you know now who call for your next idea.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;cursor: pointer;&quot; onclick=&quot;&#39;dr4sdgryt(event,&quot;&gt;&lt;span class=&quot;sg&quot;&gt;&lt;span class=&quot;se1&quot;&gt;&lt;span class=&quot;trn&quot;&gt;I you really don&#39;t want to read about technical stuff and you understand Italian you can try to read about my &quot;philosophical&quot; and political ideas in my &lt;strike&gt;boring&lt;/strike&gt; amazing blog &lt;a href=&quot;http://www.correntemente.org/&quot;&gt;correntemente.org&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;cursor: pointer;&quot; onclick=&quot;&#39;dr4sdgryt(event,&quot;&gt;&lt;span class=&quot;sg&quot;&gt;&lt;span class=&quot;se1&quot;&gt;&lt;span class=&quot;trn&quot;&gt;Of course you&#39;ve already guess that: English is not my native language and I always been the worst student in all my language classes so please be patient with me.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;cursor: pointer;&quot; onclick=&quot;&#39;dr4sdgryt(event,&quot;&gt;&lt;span class=&quot;sg&quot;&gt;&lt;span class=&quot;se1&quot;&gt;&lt;span class=&quot;trn&quot;&gt;Cheers :)&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;</content><link rel='replies' type='application/atom+xml' href='http://andreagiardina.blogspot.com/feeds/4670804806129921828/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/5214020173901710082/4670804806129921828' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5214020173901710082/posts/default/4670804806129921828'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5214020173901710082/posts/default/4670804806129921828'/><link rel='alternate' type='text/html' href='http://andreagiardina.blogspot.com/2008/07/some-unuseful-things-you-have-to-know.html' title='Some unuseful things you have to know about me'/><author><name>Andrea</name><uri>http://www.blogger.com/profile/15621346367282626830</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgyzzmEnmEkJe7UlHDYJOgblBiC0F-OHisv7_26ln0chOWwwyJTE23XJ9jjWA0BhKi4myDcnRUyyNeVQMnrNPQsUuANYj2pCI-xcccWkFpJD0FoTCOXzf6CIKriz_2ybeM/s220/avatar10.jpg'/></author><thr:total>4</thr:total></entry></feed>