<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>PHPDeveloper.org</title>
    <link>http://www.phpdeveloper.org</link>
    <description>Up-to-the Minute PHP News, views and community</description>
    <language>en-us</language>
    <pubDate>Sun, 06 Jul 2008 03:18:47 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Debuggable Blog: How to bend Cake's Model::find() method to your needs]]></title>
      <guid>http://www.phpdeveloper.org/news/10463</guid>
      <link>http://www.phpdeveloper.org/news/10463</link>
      <description><![CDATA[<p>
New on the Debuggable blog, <i>Tim Koschutzki</i> has <a href="http://www.debuggable.com/posts/implementing-different-types-for-cake%27s-model::find()-method:485030de-4778-456e-8400-44d84834cda3">posted a method</a> to get the fund() method in the CakePHP framework's models to bend to your will.
</p>
<blockquote>
CakePHP allows you to use your own "find-types" for the Model::find() methodology. Those of your who are familiar with the find() method know that there are currently four types in the core: 'list', 'all', 'first' and 'count'. However, sometimes it is nice to specify your own type.
</blockquote>
<p>
He shows an example of the end result - a find() call with a custom type that automagically gets translated correctly. His script overrides and enhances the usual find call in an extended object (extended from AppModel) that uses a switch/case statement to define the custom types and their find() search calls.
</p>]]></description>
      <pubDate>Mon, 23 Jun 2008 12:08:32 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Sebastian Bergmann's Blog: Support for the Cancel Case Workflow Pattern]]></title>
      <guid>http://www.phpdeveloper.org/news/9495</guid>
      <link>http://www.phpdeveloper.org/news/9495</link>
      <description><![CDATA[<p>
<i>Sebastian Bergmann</i> has <a href="http://sebastian-bergmann.de/archives/741-Support-for-the-Cancel-Case-Workflow-Pattern.html">a post</a> about a new feature of the Workflow component in the <a href="http://ezcomponents.org/">eZ Components libraries</a> - the Cancel Case Pattern.
</p>
<blockquote>
Version 1.2 of the <a href="http://ezcomponents.org/docs/tutorials/Workflow">Workflow</a> component that is part of the <a href="http://ezcomponents.org/">eZ Components</a> adds support for the Cancel Case workflow pattern:
</blockquote>
<p>
Once this Workflow pattern is called the complete Workflow instance is removed from the current execution (including any running nodes). You can find out more about the ezWorkflowNode in <a href="http://ezcomponents.org/docs/api/trunk/Workflow/ezcWorkflowNode.html">their documentation</a>.
</p>]]></description>
      <pubDate>Fri, 25 Jan 2008 09:45:00 -0600</pubDate>
    </item>
  </channel>
</rss>
