@param mixed $tableId

@return Table
16736
public function setTableId($tableId): Table
    {
        $this->tableId = $tableId;
        $this->options['table']['id'] = $tableId;

        return $this;
    }
1132590
public function __async_table($parentID)
    {
        $form = new Form($parentID);

        /** @var RelatedTabLocalized $tab */
        $tab = new RelatedTabLocalized($form);

        $content = $tab->getContent();

        return array('status' => 1, 'table' => $content);
    }
1141787
public static function generateTabularId($id)
    {
        if ($id === false) {
            return false;
        }
        if (substr($id, 0, strlen(static::TABULAR_PREFIX)) === static::TABULAR_PREFIX) {
            return $id;
        }

        return static::TABULAR_PREFIX . substr(md5($id), 0, 10);
    }
1255910
private function showCreateTable($tableName)
	{
		$prefix = App::get('db')->getPrefix();

		$create = App::get('db')->getTableCreate($tableName);
		$create = $create[$tableName];
		$create = str_replace("CREATE TABLE `{$prefix}", 'CREATE TABLE `#__', $create);
		$create = str_replace("\n", "\n\t\t\t\t", $create);
		$create = preg_replace('/(AUTO_INCREMENT=)([0-9]*)/', '${1}0', $create);

		return $create;
	}
1122581
public static function table ($data)
	{
		$in = new self ();
		$in->setData ($data);
		$in->setOutput (new Table ());
		return $in;
	}
124592
public function createColumnData(
        $schemaId,
        $tableId,
        $columnId,
        ColumnSchema $columnSchema
    ) {
        assert(is_numeric($tableId));

        $columnDataFilePath = sprintf(
            FilePathes::FILEPATH_COLUMN_DATA_FILE,
            $schemaId,
            $tableId,
            $columnId,
            0
        );

        /* @var $columnDataFile FileInterface */
        $columnDataFile = $this->filesystem->getFile($columnDataFilePath);

        /* @var $columnData ColumnData */
        $columnData = new ColumnData($columnDataFile, $columnSchema);

        return $columnData;
    }
1325398
protected function getTable($data = null)
    {
        if (is_null($data)) {
            $this->_table = static::$table;
            $this->_prifixTable = (Config::get('database.prefixing') ? Config::get('database.prefixe') : '').static::$table;
            //
            if (!$this->checkTable()) {
                throw new TableNotFoundException(static::$table);
            }
            //
            return $this->_prifixTable;
        } else {
            $this->_prifixTable = $data['prifixTable'];
            $this->_table = static::$table;
        }
    }
930665
public function getTableConfig($tableConfig)
    {
        if (is_string($tableConfig)) {
            $config = $this->getConfig();

            if (isset($config[self::KEY_TABLES_CONFIGS][$tableConfig])) {
                $tableConfig = $config[self::KEY_TABLES_CONFIGS][$tableConfig];
            } else {
                throw new InvalidArgumentException("Unknown table '{$tableConfig}' in config");
            }
        }

        return $tableConfig;
    }
90637
public function column(string $componentId) : TableComponentMappingDefiner
    {
        /** @var IColumn $column */
        /** @var IColumnComponent $component */
        list($column, $component) = $this->tableDataSource->getStructure()->getColumnAndComponent($componentId);
        $componentId = $column->getName() . '.' . $component->getName();

        return new TableComponentMappingDefiner($component, function (IColumnComponent $chartAxisComponent) use ($column, $componentId) {
            $this->chartComponentTableIdMap[$chartAxisComponent] = $componentId;
            $this->addColumnToLoad($column);
        });
    }
442265
function table( $name, $id = null ) {

        // ignore List suffix
        $name = preg_replace( '/List$/', '', $name );

        if ( $id !== null ) {

            $result = $this->createResult( $this, $name );

            if ( !is_array( $id ) ) {

                $table = $this->getAlias( $name );
                $primary = $this->getPrimary( $table );
                $id = array( $primary => $id );

            }

            return $result->where( $id )->fetch();

        }

        return $this->createResult( $this, $name );

    }
1238258
public static function table( $table, $connection = null )
	{
		return self::getInstance()->getConnection($connection)->table($table);
	}
1364804
public function table($table = null)
    {
        if ($table !== null) {
            $this->table = $table;
        }

        return $this->table;
    }
1124913
public function findAllByUserId( $userId )
    {
        $platform = $this->getDbAdapter()
                         ->getPlatform();

        /* @var $from \Zork\Db\Sql\TableIdentifier */
        $from = $this->getTableInSchema( 'user_right_x_user' );

        if ( $from instanceof TableIdentifier )
        {
            $from = $from->getIdentifierChain();
        }
        else
        {
            $from = (array) (string) $from;
        }

        return $this->findAll( array(
            new Expression( $platform->quoteIdentifier( 'id' ) . ' IN (
                SELECT ' . $platform->quoteIdentifier( 'rightId' ) . '
                  FROM ' . $platform->quoteIdentifierChain( $from ) . '
                 WHERE ' . $platform->quoteIdentifier( 'userId' ) . ' = ?
            )', $userId ),
        ) );
    }
385756
public function table($table)
    {
        $this->table = $table;
        $alias = $this->alias ?? $this->table;

        if (!in_array('`' . $table . '`.*', $this->select) && !in_array('`' . $alias . '`.*', $this->select)) {
            $this->select[] = '`' . $table . '`.*';
        }

        return $this;
    }
1272677
public function from(string $tableName, string $tableAlias = '') : self
    {
        $this->setTable($tableName, $tableAlias);

        return $this;
    }
301840
public function getTableColumnList($tableName) {

        if (!array_key_exists($tableName, $this->tableList)) {

            $this->addColumnMap($tableName, $this->getColumnMappingsFromConfig($tableName));
        }

        return $this->tableList[$tableName];
    }
572116
public function setTableName($tableName)
    {
        if (trim($tableName) == '') {
            $tableName = null;
        }
        $this->tableName = $tableName;

        return $this;
    }