src/Helpers/Form.php
public function transformNameForID($name)
    {
        $bits = explode('.', $name);
        array_walk(
            $bits,
            function (&$value, $key) {
                $value = ucfirst(strtolower($value));
            }
        );
        return implode('', $bits);
    }
public function transformNameForID($name)
    {
        $bits = explode('.', $name);
        array_walk(
            $bits,
            function (&$value, $key) {
                $value = ucfirst(strtolower($value));
            }
        );
        return implode('', $bits);
    }
public function transformNameForID ( $ name ) { $ bits = explode ( '.' , $ name ) ; array_walk ( $ bits , function ( & $ value , $ key ) { $ value = ucfirst ( strtolower ( $ value ) ) ; } ) ; return implode ( '' , $ bits ) ; }
transform the dot notation name into a name for input ID
if no ID was passed

@param   string  Dot notation input name
@return  string  transformed name for input ID
transform the dot notation name into a name for input ID if no ID was passed