Version: current

# Class DOMUtil

Located at dataobject_manager/code/DataObjectManager.php

## Methods summary

`public static` | # `readable_list( mixed $array )`
`public static` | # `readable_class( mixed $string )`
`public static string` | # `to_underscore( string $str )` Translates a camel case string into a string with underscores (e.g. firstName -> first_name) Translates a camel case string into a string with underscores (e.g. firstName -> first_name) #### Parameters $str string $str String in camel case format #### Returns `string` $str Translated into underscore format
`public static string` | # `to_camel_case( string $str, boolean $capitalise_first_char = false )` Translates a string with underscores into camel case (e.g. first_name -> firstName) Translates a string with underscores into camel case (e.g. first_name -> firstName) #### Parameters $str string $str String in underscore format $capitalise_first_char bool $capitalise_first_char If true, capitalise the first char in $str #### Returns `string` $str translated into camel caps

### Magic methods summary

[Raise a SilverStripe Framework issue/bug](https://github.com/silverstripe/silverstripe-framework/issues/new)
- [Raise a SilverStripe CMS issue/bug](https://github.com/silverstripe/silverstripe-cms/issues/new)
- Please use the Silverstripe Forums to ask development related questions. -