beforeFilter is a nice feature of CakePHP I often use. It is a feature that exists since a long time (well, since some months *g*). In the coming Release Candidate 4 its counterpart, the afterFilter, will be added. Its usage is a little bit different from the usage of the beforeFilter we are used to. But it is still simple. You simply overwrite the afterFilter() callback function in your controller:

class MyController extends AppController
{
    function afterFilter()
    {
        echo "I am an afterFilter";
    }
}

In the same way you can define a beforeFilter. But the “old” way with the $beforeFilter variable still works:

class MyController extends AppController
{
    var $beforeFilter = array('someFunction');

    function someFunction()
    {
        echo "I am a beforeFilter";
    }
}

Personally, I prefer the new style, and so I will adapt my code. That should be easy as my functions used as before filters are already called “beforeFilter”.