1: <?php
2: /**
3: * Control categories, used by the ModelConnectorEditDlg to pair controls with database types or relationships *
4: */
5:
6: abstract class QControlCategoryType {
7: /** Large binary object or large text data */
8: const Blob = QDatabaseFieldType::Blob;
9: /** Character sequence - variable length */
10: const Text = QDatabaseFieldType::VarChar;
11: /** Character sequence - fixed length */
12: const Char = QDatabaseFieldType::Char;
13: /** Integers */
14: const Integer = QDatabaseFieldType::Integer;
15: /** Date and Time together */
16: const DateTime = QDatabaseFieldType::DateTime;
17: /** Date only */
18: const Date = QDatabaseFieldType::Date;
19: /** Time only */
20: const Time = QDatabaseFieldType::Time;
21: /** Float, Double and real (postgresql) */
22: const Float = QDatabaseFieldType::Float;
23: /** Boolean */
24: const Boolean = QDatabaseFieldType::Bit;
25: /** Select one item from a list of items. A foreign key or a unique reverse relationship. */
26: const SingleSelect = 'single';
27: /** Select multiple items from a list of items. A non-unique reverse relationship or association table. */
28: const MultiSelect = 'multi';
29: /** Display a representation of an entire database table. Click actions would typically be done on this list. */
30: const Table = 'table';
31: }
32: