src/xPDO/Om/xPDOGenerator.php
public function getClassName($string) {
        if (is_string($string) && $strArray= explode('_', $string)) {
            $return= '';
            foreach ($strArray as $k => $v) {
                $return.= strtoupper(substr($v, 0, 1)) . substr($v, 1) . '';
            }
            $string= $return;
        }
        return trim($string);
    }
public function getClassName($string) {
        if (is_string($string) && $strArray= explode('_', $string)) {
            $return= '';
            foreach ($strArray as $k => $v) {
                $return.= strtoupper(substr($v, 0, 1)) . substr($v, 1) . '';
            }
            $string= $return;
        }
        return trim($string);
    }
public function getClassName ( $ string ) { if ( is_string ( $ string ) && $ strArray = explode ( '_' , $ string ) ) { $ return = '' ; foreach ( $ strArray as $ k => $ v ) { $ return .= strtoupper ( substr ( $ v , 0 , 1 ) ) . substr ( $ v , 1 ) . '' ; } $ string = $ return ; } return trim ( $ string ) ; }
Gets a class name from a table name by splitting the string by _ and
capitalizing each token.

@access public
@param string $string The table name to format.
@return string The formatted string.
Gets a class name from a table name by splitting the string by _ and capitalizing each token .