: Non-static method HtmlUtils::formatText() should not be called statically, assuming $this from incompatible context in /home/script/public_html/_dir/theme/tag.tpl.php
on line 44
Dan Webb describes curried functions as a way of creating reusable callback functions for event handlers or Ajax requests, or anything that takes a function as an argument. By using closures, curried functions have a simple way of persisting data between calls. He also offers an elegant way of running a lots of methods on objects, with a simple map function written as a curried function.