src/UI/CrudForm.php
public static function fieldToTitle($name, $titles=false) {
        if ( is_array($titles) && U::get($titles, $name) ) return U::get($titles, $name);
        return ucwords(str_replace('_',' ',$name));
    }
public static function fieldToTitle($name, $titles=false) {
        if ( is_array($titles) && U::get($titles, $name) ) return U::get($titles, $name);
        return ucwords(str_replace('_',' ',$name));
    }
public static function fieldToTitle ( $ name , $ titles = false ) { if ( is_array ( $ titles ) && U :: get ( $ titles , $ name ) ) return U :: get ( $ titles , $ name ) ; return ucwords ( str_replace ( '_' , ' ' , $ name ) ) ; }
Maps a field name to a presentable title.

@todo Make this translatable and pretty
Maps a field name to a presentable title .