gets column

@param  integer $colIndex
@return PHPRtfLite_Table_Column
@throws PHPRtfLite_Exception, if colIndex is not valid
548165
public function getColumn($colIndex)
    {
        if (isset($this->_columns[$colIndex - 1])) {
            return $this->_columns[$colIndex - 1];
        }

        throw new PHPRtfLite_Exception('Invalid column index for table: ' . $colIndex);
    }
919113
public function addColumn($width)
    {
        $column = new PHPRtfLite_Table_Column($this, $this->getColumnsCount() + 1, $width);
        $this->_columns[] = $column;

        return $column;
    }
1114042
public function get($column): Column
    {
        if (!$this->exists($column)) {
            throw new Exception\ColumnNotFoundException(__METHOD__ . " Column '$column' not present in column model.");
        }

        return $this->columns->offsetGet($column);
    }
701238
public function getColumn(string $name) : Column
    {
        $column = $this->findColumn($name);

        if (!$column) {
            throw InvalidArgumentException::format(
                'Could not get column from table \'%s\': expecting one of (%s), \'%s\' given',
                $this->name, Debug::formatValues($this->getColumnNames()), $name
            );
        }

        return $column;
    }
941027
public function fetchField($column)
    {
        if ($this->rowCount == 0) {
            throw new Exception('Empty result set');
        }
        $row = $this->current();
        if (!isset($this->columnOids[$column])) {
            throw new Exception("Field '$column' not found");
        }

        return $row[$column];
    }
1064098
public function getTable($withPrefix = true)
    {
        if (is_null($this->table)) {
            $classBasename = (new \ReflectionClass($this))->getShortName();
            $this->setTable(strtolower($classBasename));
        }

        if ($withPrefix) {
            return $this->getPrefix() . $this->table;
        }

        return $this->table;
    }
557006
public function fetchColumn($col = 0)
    {
        try {
            return $this->_stmt->fetchColumn($col);
        } catch (PDOException $e) {
            // require_once 'Zend/Db/Statement/Exception.php';
            throw new Zend_Db_Statement_Exception($e->getMessage(), $e->getCode(), $e);
        }
    }
1036010
public function getColumn($column = 0)
    {
        $this->parseDefer();
        if(!$this->isSuccess)
        {
            throw new \RuntimeException('Result is not success!');
        }
        return $this->statement->fetchAll(\PDO::FETCH_COLUMN, $column);
    }
1198861
public function getRule($pIndex) {
		if (!isset($this->_ruleset[$pIndex])) {
			$this->_ruleset[$pIndex] = new PHPExcel_Worksheet_AutoFilter_Column_Rule($this);
		}
		return $this->_ruleset[$pIndex];
	}
1212132
public function getColumn($strColumnName, $strColumnType = null)
    {
        if (!isset($this->strColumnArray[$strColumnName])) {
            return null;
        }
        $strColumnValue = $this->strColumnArray[$strColumnName];
        switch ($strColumnType) {
            case FieldType::BIT:
                // PostgreSQL returns 't' or 'f' for boolean fields
                if ($strColumnValue == 'f') {
                    return false;
                } else {
                    return ($strColumnValue) ? true : false;
                }

            case FieldType::BLOB:
            case FieldType::CHAR:
            case FieldType::VAR_CHAR:
            case FieldType::JSON: // JSON is basically String
                return Type::cast($strColumnValue, Type::STRING);
            case FieldType::DATE:
            case FieldType::DATE_TIME:
            case FieldType::TIME:
                return new QDateTime($strColumnValue);

            case FieldType::FLOAT:
                return Type::cast($strColumnValue, Type::FLOAT);

            case FieldType::INTEGER:
                return Type::cast($strColumnValue, Type::INTEGER);

            default:
                return $strColumnValue;
        }
    }
684268
public function getCol($column = 0)
    {
        $sql = $this->toSQL();
        return $this->table->getCol($sql, $this->getParams(), $column);
    }
239103
public function getColumnDefaultValue($tableName, $columnName) {
        $columns = $this->getTableColumns($tableName);
        foreach ($columns as $column) {
            if ($column['Field'] != $columnName)
                continue;
            return $column['Default'];
        }
        throw new \Exception("Column `$columnName` not found in table `$tableName`!");
    }
1099097
public function getColumn($columnIndex)
    {
        //check whether worksheet name is set or not
        if ($this->worksheetName == '')
            throw new Exception('Worksheet name not specified');
        $strURI = Product::$baseProductUri . '/cells/' . $this->getFileName() .
            '/worksheets/' . $this->worksheetName . '/cells/columns/' . $columnIndex;
        $signedURI = Utils::sign($strURI);
        $responseStream = Utils::processCommand($signedURI, 'GET', '', '');
        $json = json_decode($responseStream);
        return $json->Column;

    }
833588
def column_hidden colindex, tf=true
      #raise ArgumentError, "wrong alignment value sent" if ![:right, :left, :center].include? lrc
      get_column(colindex).hidden = tf
      @repaint_required = true
      @recalc_required = true
    end
1191906
public function get($columns = ['*'])
    {
        $columns = $this->query->getQuery()->columns ? [] : $columns;

        if ($columns === ['*']) {
            $columns = [$this->related->getTable().'.*'];
        }

        $columns[] = $this->getQualifiedFirstLocalKeyName().' as '.static::THROUGH_KEY;

        $this->query->addSelect($columns);

        return $this->query->get();
    }
448323
public function getRule($pIndex)
    {
        if (!isset($this->ruleset[$pIndex])) {
            $this->ruleset[$pIndex] = new PHPExcel_Worksheet_AutoFilter_Column_Rule($this);
        }
        return $this->ruleset[$pIndex];
    }
148332
public static function getTreeColumn($name = null)
    {
        if (empty($name)) {
            return static::$treeColumns;
        } elseif (!empty(static::$treeColumns[$name])) {
            return static::$treeColumns[$name];
        }
        throw new \Exception('Tree column: ' . $name . ' undefined');
    }