Generator.php
protected function generateClassName($tableName, $short = false)
    {
        $ns = null;
        if (list($prefix, $ns) = $this->tablePrefixMatches($tableName)) {
            $tableName = substr($tableName, strlen($prefix));
        }
        $className = parent::generateClassName($tableName);

        if (null !== $ns && $short === false) {
            $className = '\\' . trim($this->ns . '\\' . $ns, '\\') . '\\' . $className;
        }
        return $className;
    }
protected function generateClassName($tableName, $short = false)
    {
        $ns = null;
        if (list($prefix, $ns) = $this->tablePrefixMatches($tableName)) {
            $tableName = substr($tableName, strlen($prefix));
        }
        $className = parent::generateClassName($tableName);

        if (null !== $ns && $short === false) {
            $className = '\\' . trim($this->ns . '\\' . $ns, '\\') . '\\' . $className;
        }
        return $className;
    }
protected function generateClassName ( $ tableName , $ short = false ) { $ ns = null ; if ( list ( $ prefix , $ ns ) = $ this -> tablePrefixMatches ( $ tableName ) ) { $ tableName = substr ( $ tableName , strlen ( $ prefix ) ) ; } $ className = parent :: generateClassName ( $ tableName ) ; if ( null !== $ ns && $ short === false ) { $ className = '\\' . trim ( $ this -> ns . '\\' . $ ns , '\\' ) . '\\' . $ className ; } return $ className ; }
Generates a class name with namespace prefix from the specified table name.

@param string $tableName the table name (which may contain schema prefix)
@param bool $short
@return string the generated class name
Generates a class name with namespace prefix from the specified table name .