-
Notifications
You must be signed in to change notification settings - Fork 5
/
control_registry.inc.php
21 lines (18 loc) · 903 Bytes
/
control_registry.inc.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?php
/**
* Called by the ModelConnector Designer to create a list of controls appropriate for the given database field type.
* The control will be available in the list of controls that appear in ModelConnector desginer dialog
* in the ControlClass entry.
*/
$controls[QDatabaseFieldType::VarChar][] = 'QCubed\Plugin\QSignaturePad';
$controls[QDatabaseFieldType::Blob][] = 'QCubed\Plugin\QSignaturePad';
//$controls[QDatabaseFieldType::Char][] = '';
//$controls[QDatabaseFieldType::Integer][] = '';
//$controls[QDatabaseFieldType::Float][] = '';
//$controls[QDatabaseFieldType::Bit][] = '';
//$controls[QDatabaseFieldType::DateTime][] = '';
//$controls[QDatabaseFieldType::Date][] = '';
//$controls[QDatabaseFieldType::Time][] = '';
//$controls[QType::ArrayType][] = ''; // Many-to-one. Includes forward and unique reverse references.
//$controls[QType::Association][] = ''; // Many-to-many.
?>