*
* Generated from xml/schema/CRM/Core/CustomField.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:58323f46f5ac021f96591e075b37cca6)
+ * (GenCodeChecksum:bd9573e2a92ef325a5bbaa1a47f28da7)
*/
/**
public $time_format;
/**
- * Number of columns in Note Field
+ * Number of columns in Note Field
*
* @var int
*/
public $note_columns;
/**
- * Number of rows in Note Field
+ * Number of rows in Note Field
*
* @var int
*/
'entity' => 'CustomField',
'bao' => 'CRM_Core_BAO_CustomField',
'localizable' => 0,
+ 'pseudoconstant' => [
+ 'callback' => 'CRM_Core_SelectValues::getDatePluginInputFormats',
+ ],
],
'time_format' => [
'name' => 'time_format',
'entity' => 'CustomField',
'bao' => 'CRM_Core_BAO_CustomField',
'localizable' => 0,
+ 'pseudoconstant' => [
+ 'callback' => 'CRM_Core_SelectValues::getTimeFormats',
+ ],
],
'note_columns' => [
'name' => 'note_columns',
'weight' => 4,
'is_required' => 1,
'is_searchable' => 1,
- 'date_format' => 'mm/dd/yyyy',
+ 'date_format' => 'mm/dd/yy',
'is_active' => 1,
);
$customField = $this->callAPIAndDocument('custom_field', 'create', $params, __FUNCTION__, __FILE__);
<length>64</length>
<comment>date format for custom date</comment>
<add>3.1</add>
+ <pseudoconstant>
+ <callback>CRM_Core_SelectValues::getDatePluginInputFormats</callback>
+ </pseudoconstant>
</field>
<field>
<name>time_format</name>
<title>Field Time Format</title>
<comment>time format for custom date</comment>
<add>3.1</add>
+ <pseudoconstant>
+ <callback>CRM_Core_SelectValues::getTimeFormats</callback>
+ </pseudoconstant>
</field>
<field>
<name>note_columns</name>
<type>int unsigned</type>
<title>Field Note Columns</title>
- <comment> Number of columns in Note Field </comment>
+ <comment>Number of columns in Note Field</comment>
<add>1.4</add>
</field>
<field>
<name>note_rows</name>
<type>int unsigned</type>
<title>Field Note Rows</title>
- <comment> Number of rows in Note Field </comment>
+ <comment>Number of rows in Note Field</comment>
<add>1.4</add>
</field>
<field>