public function transformName($name)
    {
        if (strpos($name, '.') !== false) {
            $bits = explode('.', $name, 2);
            $bits['1'] = '[' . str_replace('.', '][', $bits['1']) . ']';
            return implode('', $bits);
        } else {
            return $name;
        }
    }
public function transformName($name)
    {
        if (strpos($name, '.') !== false) {
            $bits = explode('.', $name, 2);
            $bits['1'] = '[' . str_replace('.', '][', $bits['1']) . ']';
            return implode('', $bits);
        } else {
            return $name;
        }
    }
public function transformName ( $ name ) { if ( strpos ( $ name , '.' ) !== false ) { $ bits = explode ( '.' , $ name , 2 ) ; $ bits [ '1' ] = '[' . str_replace ( '.' , '][' , $ bits [ '1' ] ) . ']' ; return implode ( '' , $ bits ) ; } else { return $ name ; } }
transform the dot notation name into proper name

@param   string  Dot notation input name
@return  string  transformed name for input
transform the dot notation name into proper name