set to file options is file from elfinder

@param string|array $column
962595
protected function setElfinderToOptions($column)
    {
        $this->fileOptions = collect($this->fileOptions)->map(function($item, $key) use($column)
        {
            if (
                (is_array($column) && $key === $column['index'] && $item['column'] === $column['column'])
                || $item['column'] === $column
            ) {
                $item['isElfinder'] = true;
            }
            return $item;
        })->all();
    }
825790
public function addIsNullCondition($column){
        $this->conditionColumns[] = $column;
        return $this->addCondition($this->_column($column) . " IS NULL");
    }
1247362
public function hasColumn($table, $column)
    {
        $column = strtolower($column);

        return in_array($column, array_map('strtolower', $this->getColumnListing($table)));
    }
196993
public function handleShowColumn($column)
	{
		$columns = $this->getSessionData('_grid_hidden_columns');

		if (!empty($columns)) {
			$pos = array_search($column, $columns, true);

			if ($pos !== false) {
				unset($columns[$pos]);
			}
		}

		$this->saveSessionData('_grid_hidden_columns', $columns);
		$this->saveSessionData('_grid_hidden_columns_manipulated', true);

		$this->redrawControl();

		$this->onRedraw();
	}
349549
public function setSortColumn($column)
    {
        $this->sortColumn = null;

        $found = false;
        foreach ($this->getColumns() as $id => $params) {
            if ($id == $column) {
                $found = ($params['sortable'] === true);
                break;
            }
        }

        if ($found)
            $this->sortColumn = $column;

        return $this;
    }
1180944
public function isHidden($column)
    {
        $attributes = $this->config('hidden', []);

        if (! is_array($attributes)) {
            throw new \RuntimeException('Config field [hidden] must be an array of attributes to hide from array or json.');
        }

        foreach ($attributes as $pattern) {
            if (Str::is($pattern, $column)) {
                return true;
            }
        }

        return false;
    }
1279425
final protected function setFileLocation (string $file)
	{
        $file 		= $this->getLocation().$file;
        $pathParts  = pathinfo($file);
        $this->file = !isset($pathParts['extension']) ? $file.".inc" : $file;
	}
206791
protected function setFileSize($file)
    {
        $this->fileSize = ! is_null($this->elfinderFilePath) ? $this->getFileSize() : (is_string($file) ? $this->size($file) : $file->getClientSize());
    }
404851
public function addSelect($column)
    {
        $column = is_array($column) ? $column : func_get_args();

        $this->columns = array_merge((array) $this->columns, $column);

        return $this;
    }
1361026
protected static function removeNotJsOptions(&$column)
    {
        foreach ($column as $k => $v) {
            if (!in_array($k, self::$columnParams)) {
                unset($column[$k]);
            }
        }
    }
307815
protected function setColumn($column)
    {
        if ($column instanceof ColumnMap) {
            $this->column = $column->getName();
            $this->table = $column->getTable()->getName();
        } else {
            $dotPos = strrpos($column, '.');
            if ($dotPos === false) {
                // no dot => aliased column
                $this->table = null;
                $this->column = $column;
            } else {
                $this->table = substr($column, 0, $dotPos);
                $this->column = substr($column, $dotPos + 1, strlen($column));
            }
        }
    }
427912
public function addColumn($column) {
        $columns = $this->getColumns();
        $columns[] = $column;
        $this->setColumns($columns);
    }
1244623
static protected function validateUploadedFileContents(
        Column $column,
        SymfonyUploadedFile $file,
        array &$errors
    ) {
        if (!parent::validateUploadedFileContents($column, $file, $errors)) {
            return false;
        }
        $fileConfig = $column->getConfiguration();
        $filesGroupName = $fileConfig->getName();
        $localizations = $column::getValidationErrorsMessages();

        if (!ValidateValue::isUploadedImage($file, true)) {
            $errors[] = sprintf(
                RecordValueHelpers::getErrorMessage($localizations, $column::VALUE_MUST_BE_IMAGE),
                $filesGroupName
            );
        }
        $imagick = new \Imagick($file->getRealPath());
        if (!$imagick->valid() || ($imagick->getImageMimeType() === 'image/jpeg' && ValidateValue::isCorruptedJpeg($file->getRealPath()))) {
            $errors[] = sprintf(
                RecordValueHelpers::getErrorMessage($localizations, $column::FILE_IS_NOT_A_VALID_IMAGE),
                $filesGroupName
            );
        } else if (!in_array($imagick->getImageMimeType(), $fileConfig->getAllowedMimeTypes(), true)) {
            $errors[] = sprintf(
                RecordValueHelpers::getErrorMessage($localizations, $column::IMAGE_TYPE_IS_NOT_ALLOWED),
                $imagick->getImageMimeType(),
                $filesGroupName,
                implode(', ', $fileConfig->getAllowedMimeTypes())
            );
        }
        $imagick->destroy();
        return empty($errors);
    }
98240
private static function executeTableShowTableColumn(array $column, $value): void
  {
    $spaces = str_repeat(' ', $column['length'] - mb_strlen((string)$value));

    switch ($column['type'])
    {
      case 1: // tinyint
      case 2: // smallint
      case 3: // int
      case 4: // float
      case 5: // double
      case 8: // bigint
      case 9: // mediumint
      case 246: // decimal
        echo ' ', $spaces.$value, ' ';
        break;

      case 7: // timestamp
      case 10: // date
      case 11: // time
      case 12: // datetime
      case 13: // year
      case 16: // bit
      case 252: // is currently mapped to all text and blob types (MySQL 5.0.51a)
      case 253: // varchar
      case 254: // char
        echo ' ', $value.$spaces, ' ';
        break;

      default:
        throw new FallenException('data type id', $column['type']);
    }
  }
401861
public function setColumnAlignment($column, $alignment)
    {
        Assert::oneOf($alignment, Alignment::all(), 'The column alignment must be one of the Alignment constants. Got: %s');

        $this->columnAlignments[$column] = $alignment;

        return $this;
    }
1067925
function setFileOption (file) {
    if (!options.file) {
      options.file = path.join(path.dirname(file), "banner.txt");
    }
  }
934332
public function column(string $column = null): self
    {
        if (! is_null($column)) {
            $this->column = $column;
        }

        if ($this->locale && ! is_null($column)) {
            $locale = '.'.app()->getLocale().'.';
            $this->column = preg_replace('/'.preg_quote('.', '/').'/', $locale, $column);
        }

        return $this;
    }