src/ORM/DataObjectSchema.php
public function tableName($class)
    {
        $tables = $this->getTableNames();
        $class = ClassInfo::class_name($class);
        if (isset($tables[$class])) {
            return Convert::raw2sql($tables[$class]);
        }
        return null;
    }
public function tableName($class)
    {
        $tables = $this->getTableNames();
        $class = ClassInfo::class_name($class);
        if (isset($tables[$class])) {
            return Convert::raw2sql($tables[$class]);
        }
        return null;
    }
public function tableName ( $ class ) { $ tables = $ this -> getTableNames ( ) ; $ class = ClassInfo :: class_name ( $ class ) ; if ( isset ( $ tables [ $ class ] ) ) { return Convert :: raw2sql ( $ tables [ $ class ] ) ; } return null ; }
Get table name for the given class.

Note that this does not confirm a table actually exists (or should exist), but returns
the name that would be used if this table did exist.

@param string $class

@return string Returns the table name, or null if there is no table
Get table name for the given class .