src/xPDO/Om/xPDOGenerator.php
public function getTableName($string, $prefix= '', $prefixRequired= false) {
        if (!empty($prefix) && strpos($string, $prefix) === 0) {
            $string= substr($string, strlen($prefix));
        }
        elseif ($prefixRequired) {
            $string= '';
        }
        return $string;
    }
public function getTableName($string, $prefix= '', $prefixRequired= false) {
        if (!empty($prefix) && strpos($string, $prefix) === 0) {
            $string= substr($string, strlen($prefix));
        }
        elseif ($prefixRequired) {
            $string= '';
        }
        return $string;
    }
public function getTableName ( $ string , $ prefix = '' , $ prefixRequired = false ) { if ( ! empty ( $ prefix ) && strpos ( $ string , $ prefix ) === 0 ) { $ string = substr ( $ string , strlen ( $ prefix ) ) ; } elseif ( $ prefixRequired ) { $ string = '' ; } return $ string ; }
Formats a class name to a specific value, stripping the prefix if
specified.

@access public
@param string $string The name to format.
@param string $prefix If specified, will strip the prefix out of the
first argument.
@param boolean $prefixRequired If true, will return a blank string if the
prefix specified is not found.
@return string The formatting string.
Formats a class name to a specific value stripping the prefix if specified .