Set the database's table to use.

@param  string $table The source table.
@throws InvalidArgumentException If argument is not a string or alphanumeric/underscore.
@return self
176209
public function setTable($table)
    {
        if (!is_string($table)) {
            throw new InvalidArgumentException(sprintf(
                'DatabaseSource::setTable() expects a string as table. (%s given). [%s]',
                gettype($table),
                get_class($this->model())
            ));
        }

        /**
         * For security reason, only alphanumeric characters (+ underscores)
         * are valid table names; Although SQL can support more,
         * there's really no reason to.
         */
        if (!preg_match('/[A-Za-z0-9_]/', $table)) {
            throw new InvalidArgumentException(sprintf(
                'Table name "%s" is invalid: must be alphanumeric / underscore.',
                $table
            ));
        }

        $this->table = $table;
        return $this;
    }
1330862
public function deleteFrom( $table )
    {
				$table = $this->getPrefixedTableNames($table);
        $this->table = $table;
        return $this;
    }
1245806
protected function setTable($table)
    {
        $this->table = $table;
        $this->quotedTable = $this->dialect->quote($table, 'name');
        return $this;
    }
455068
public function setBlockedIPTable($table){
        if(is_string($table)){
            $this->blocked_ip_table = filter_var($table, FILTER_SANITIZE_STRING);
        }
        return $this;
    }
205835
public function update( $table )
    {
        $table = $this->getIdentifier( $table );
        $table = $this->getPrefixedTableNames($table);
        $this->table = $table;
        return $this;
    }
879573
public function from(string $table = null): Delete
    {
        $this->from = [];
        if (!\is_string($table) && !\is_array($table)) {
            throw new InvalidArgumentException('$table has to be an array or a string');
        }
        $this->from = $this->namesClass->parse($table, true);

        return $this;
    }
579318
public function setTable($table)
    {
        $this->table = $table;
        $this->getQuery()->table($table);

        return $this;
    }
402793
public function setBlockedRangeTable($table){
        if(is_string($table)){
            $this->blocked_range_table = filter_var($table, FILTER_SANITIZE_STRING);
        }
        return $this;
    }
1012445
public function setCurrentTable(Table $table)
    {
        $this->fieldsCacheFile = $this->fieldsCacheDir . DIRECTORY_SEPARATOR . '.table.' . $table->getFullTableName() . '.cache';

        if (file_exists($this->fieldsCacheFile)) {
            try {
                $this->fieldsCache = include $this->fieldsCacheFile;
                $this->fieldsCache = unserialize($this->fieldsCache);
            } catch (\Exception $e) {
                $this->fieldsCache = [];
            }
        }else if(!is_null($this->table) && $this->table->getTableName() !== $table->getTableName()) {
            $this->fieldsCache = [];
        }

        $this->table = $table;

        return $this;
    }
364798
public function rowsFrom(string $table, string ...$tables)
    {
        array_unshift($tables, $table);

        foreach ($tables as $table) {
            $this->rowsFrom[] = $this->dialect()->quoteName($table);
        }

        return $this;
    }
1244952
public function from(string $table) {
		// set the table
		list($this->Table) = Query\Convert::columnToPlaceholder($this->Quote ,$table);	
		// return self to the next method
		return $this;
	}
825916
public function insertInto( $table )
    {
        $table = $this->getIdentifier( $table );
        $table = $this->getPrefixedTableNames($table);
        $this->table = $table;
        return $this;
    }
1187348
protected function checkTableArgument($table = null)
    {
        if ($table !== null) {
            if (!is_string($table) || trim($table) == '') {
                throw new Exception\InvalidArgumentException(__METHOD__ . ' Table name must be a valid string or an empty string detected');
            }
        }
    }
53214
public function setTable(Table $table)
    {
        $this->_table = $table;
        $eventManager = $table->getEventManager();
        if ($eventManager !== null) {
            $this->setEventManager($eventManager);
        }
    }
674770
public function lockTable($table)
	{
		$this->executeUnpreparedQuery($this->replacePrefix('LOCK TABLES ' . $this->quoteName($table) . ' WRITE'));

		return $this;
	}
1200403
public function setRawTable($table)
    {
        $this->table = $table;
        $this->fullTable = $this->db->getTable($this->table);

        return $this;
    }
181345
public function setTable(string $table): self
    {
        $this->table = $this->agent->escapeIdentifier($table);

        return $this;
    }