Camelize a string
<?
protected function camelize($scored)
{
return lcfirst(
implode(
'',
array_map(
'ucfirst',
array_map(
'strtolower',
explode('_', $scored)
)
)
)
);
}