This is a small adaptation of Underscore.php v1.3.1 for CakePHP.