Add a int column

@param string $column
@param int|null $length
@return $this
347057
public function int($column, $length = null)
    {
        return $this->addColumn($column, self::TYPE_INT, array('length' => $length));
    }
1235474
public function limit(int $offset, int $length = 0) {
        if (0 === $length) {
            if (0 === $offset) {
                return $this;
            }
            $length = $offset;
            $offset = 0;
        }
        $this->sql .= "LIMIT $offset, $length";
        return $this;
    }
1361340
public function addColumnContent($column, $postId)
    {
        if (isset($this->data[$column]) && $field = $this->data[$column]) {
            echo $field->outputColumnContent($postId);
        } else {
            return $column;
        }
    }
1260259
public function addColumn($col)
    {
        $col = $this->createColumn($col);
        $this->columns[$col->getUniqueId()] = $col;
    }
880102
public function addCol($width=NULL) {
		$colCount=$this->colCount() + 1;
		$this->setColsCount($colCount, true, $width);
		if ($this->hasOnlyCols($this->count()))
			return $this->content[$colCount - 1];
		return $this;
	}
383149
public void add(String column, Object value) {
        add(System.currentTimeMillis(), column, value);
    }
399265
public function addColumn(Column $column)
    {
        $this->columns[] = $column;

        if ($column instanceof ColumnInterface) {
            $column->initialize($this);
        }

        return $this;
    }
289790
public function addColumn($column)
    {
        if (is_string($column) && class_exists($column)) {
            $column = new $column();
        }

        if (!$column instanceof Column) {
            throw new \InvalidArgumentException(__METHOD__ . ' argument 1 need Column instance.');
        }

        $this->columns[$column->getName()] = $column;

        return $column;
    }
127949
public function addColumn(Column $column)
    {
        if (array_key_exists((string)$column, $this->columns)) {
            throw new \InvalidArgumentException("Column with label '$column' already exists!");
        }
        $this->columns[(string)$column] = $column;

        return $this;
    }
963407
final public function addColumn(Column $column, int $size = null): Index
    {
        if ($this->hasColumn($column::getName())) {
            throw new InvalidArgumentException('Column '.$column::getName().' already added to the index');
        }

        $this->columns[] = new IndexColumn($column, $size);

        return $this;
    }
646816
protected function _addColumn($column)
    {
        if (! is_string($column)) {
            throw new InvalidArgumentException('Expecting a string as Index Column');
        }

        $this->_columns[$column] = new Identifier($column);
    }
794493
public function setLength($length = null)
    {
        $length = (null === $length) ? $this->datasetCount : $length;
        $this->length = (\abs($length) > $this->datasetCount) ? $this->datasetCount : $length;

        return $this;
    }
458837
function add(Expr $next) {
		if ($this->isNull()) {
			throw new \UnexpectedValueException("Cannot add anything to NULL");
		}
		if ($this->next) {
			$this->next->add($next);
		} else {
			$this->next = $next;
		}
		return $this;
	}
360287
public function setLength($length)
    {
        $length = intval($length);
        $this->length = empty($length) ? 1 : $length;

        return $this;
    }
954891
public function setMaxLengths($column1 = null, $column2 = null, $_ = null)
    {
        foreach (func_get_args() as $index => $argument) {
            $length = strlen((string) $argument);

            if ($this->columns->offsetExists($index) === false || $this->columns->offsetGet($index) < $length) {
                $this->columns->offsetSet($index, $length);
            }
        }

        return $this;
    }
667936
public function addSorting($column, $type)
    {
        $availableSortTypes = [self::SORT_ASC, self::SORT_DESC];
        if (!in_array($type, $availableSortTypes)) {
            throw new \Exception(sprintf('Wrong sort type: "%s". Supported types: [%s]', $type, implode(',', $availableSortTypes)));
        }

        $this->sortParams[$column] = $type;

        return $this;
    }
1085966
public function addColumn(Column $column)
    {
        if ($this->hasColumn($column->getName())) {
            throw SchemaException::tableColumnAlreadyExists($this->getName(), $column->getName());
        }

        $this->columns[$column->getName()] = $column;
    }