‪TYPO3CMS  10.4
CreateColumnDefinitionItem.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
5 /*
6  * This file is part of the TYPO3 CMS project.
7  *
8  * It is free software; you can redistribute it and/or modify it under
9  * the terms of the GNU General Public License, either version 2
10  * of the License, or any later version.
11  *
12  * For the full copyright and license information, please read the
13  * LICENSE.txt file that was distributed with this source code.
14  *
15  * The TYPO3 project - inspiring people to share!
16  */
17 
19 
21 
27 {
31  public ‪$columnName;
32 
36  public ‪$dataType;
37 
43  public ‪$allowNull = true;
44 
50  public ‪$hasDefaultValue = false;
51 
57  public ‪$defaultValue;
58 
64  public ‪$autoIncrement = false;
65 
71  public ‪$index = false;
72 
78  public ‪$unique = false;
79 
85  public ‪$primary = false;
86 
92  public ‪$comment;
93 
99  public ‪$columnFormat;
100 
106  public ‪$storage;
107 
111  public ‪$reference;
112 
120  {
121  $this->columnName = ‪$columnName;
122  $this->dataType = ‪$dataType;
123  }
124 }
‪TYPO3\CMS\Core\Database\Schema\Parser\AST\CreateColumnDefinitionItem\$defaultValue
‪mixed $defaultValue
Definition: CreateColumnDefinitionItem.php:52
‪TYPO3\CMS\Core\Database\Schema\Parser\AST\Identifier
Definition: Identifier.php:25
‪TYPO3\CMS\Core\Database\Schema\Parser\AST\CreateColumnDefinitionItem\$primary
‪bool $primary
Definition: CreateColumnDefinitionItem.php:76
‪TYPO3\CMS\Core\Database\Schema\Parser\AST\CreateColumnDefinitionItem\$dataType
‪TYPO3 CMS Core Database Schema Parser AST DataType AbstractDataType $dataType
Definition: CreateColumnDefinitionItem.php:34
‪TYPO3\CMS\Core\Database\Schema\Parser\AST\CreateColumnDefinitionItem
Definition: CreateColumnDefinitionItem.php:27
‪TYPO3\CMS\Core\Database\Schema\Parser\AST\CreateColumnDefinitionItem\__construct
‪__construct(Identifier $columnName, AbstractDataType $dataType)
Definition: CreateColumnDefinitionItem.php:106
‪TYPO3\CMS\Core\Database\Schema\Parser\AST\CreateColumnDefinitionItem\$columnName
‪TYPO3 CMS Core Database Schema Parser AST Identifier $columnName
Definition: CreateColumnDefinitionItem.php:30
‪TYPO3\CMS\Core\Database\Schema\Parser\AST
Definition: AbstractCreateDefinitionItem.php:18
‪TYPO3\CMS\Core\Database\Schema\Parser\AST\CreateColumnDefinitionItem\$storage
‪string $storage
Definition: CreateColumnDefinitionItem.php:94
‪TYPO3\CMS\Core\Database\Schema\Parser\AST\CreateColumnDefinitionItem\$autoIncrement
‪bool $autoIncrement
Definition: CreateColumnDefinitionItem.php:58
‪TYPO3\CMS\Core\Database\Schema\Parser\AST\CreateColumnDefinitionItem\$hasDefaultValue
‪bool $hasDefaultValue
Definition: CreateColumnDefinitionItem.php:46
‪TYPO3\CMS\Core\Database\Schema\Parser\AST\DataType\AbstractDataType
Definition: AbstractDataType.php:25
‪TYPO3\CMS\Core\Database\Schema\Parser\AST\CreateColumnDefinitionItem\$allowNull
‪bool $allowNull
Definition: CreateColumnDefinitionItem.php:40
‪TYPO3\CMS\Core\Database\Schema\Parser\AST\CreateColumnDefinitionItem\$columnFormat
‪string $columnFormat
Definition: CreateColumnDefinitionItem.php:88
‪TYPO3\CMS\Core\Database\Schema\Parser\AST\CreateColumnDefinitionItem\$comment
‪string $comment
Definition: CreateColumnDefinitionItem.php:82
‪TYPO3\CMS\Core\Database\Schema\Parser\AST\AbstractCreateDefinitionItem
Definition: AbstractCreateDefinitionItem.php:25
‪TYPO3\CMS\Core\Database\Schema\Parser\AST\CreateColumnDefinitionItem\$unique
‪bool $unique
Definition: CreateColumnDefinitionItem.php:70
‪TYPO3\CMS\Core\Database\Schema\Parser\AST\CreateColumnDefinitionItem\$reference
‪ReferenceDefinition $reference
Definition: CreateColumnDefinitionItem.php:98
‪TYPO3\CMS\Core\Database\Schema\Parser\AST\ReferenceDefinition
Definition: ReferenceDefinition.php:26
‪TYPO3\CMS\Core\Database\Schema\Parser\AST\CreateColumnDefinitionItem\$index
‪bool $index
Definition: CreateColumnDefinitionItem.php:64