Merge "Add CollationFa"
[lhc/web/wiklou.git] / includes / libs / rdbms / field / Field.php
1 <?php
2 /**
3 * Base for all database-specific classes representing information about database fields
4 * @ingroup Database
5 */
6 interface Field {
7 /**
8 * Field name
9 * @return string
10 */
11 function name();
12
13 /**
14 * Name of table this field belongs to
15 * @return string
16 */
17 function tableName();
18
19 /**
20 * Database type
21 * @return string
22 */
23 function type();
24
25 /**
26 * Whether this field can store NULL values
27 * @return bool
28 */
29 function isNullable();
30 }