Updated code formatting to follow CakePHP standards. Changed $settings to be public so helpers are compatible with v2.3.0