Some new features

In the latest version from trunk ( Did you notice the version number? The next release will be version 1.0, and not 0.10) there are some new features. A new function “am()” has been added to the convenient functions in basics.php. It merges a group of arrays into one array as you can see below:

 * Merge a group of arrays
 * @param array First array
 * @param array Second array
 * @param array Third array
 * @param array Etc...
 * @return array All array parameters merged into one
function am ()

Nate has already mentioned the new “Security” component in a comment with some explanations. This component is now available in the trunk.

A new callback function, “beforeValidate”, has been added to the model. Also the “$limit = 50” has been removed from the “findAll” function.

There are also some enhancements in the field of caching. So a new constant “CACHE_CHECK” has been added to “core.php”. And it seems that views are cached, too, as there is a new folder “app/tmp/cache/views”.



  1. Posted March 12, 2006 at 4:06 pm | Permalink

    Wait, with $limit removed how does one *limit* the number of rows returned?

  2. Posted March 12, 2006 at 4:13 pm | Permalink

    Sorry, what I wrote was ambiguous :| The $limit parameter is still there, only the default value of 50 has been removed.

Post a Comment

Required fields are marked *

%d bloggers like this: