return $jobFrequency;
}
+ /**
+ * mailing group types
+ */
+ static function getMailingGroupTypes() {
+ static $mailingGroupTypes = NULL;
+ if (!$mailingGroupTypes) {
+ $mailingGroupTypes = array(
+ 'Include' => ts('Include'),
+ 'Exclude' => ts('Exclude'),
+ 'Base' => ts('Base'),
+ );
+ }
+ return $mailingGroupTypes;
+ }
+
+ /**
+ * Mailing Job Status
+ */
+ static function geMailingJobStatus() {
+ static $mailingJobStatus = NULL;
+ if (!$mailingJobStatus) {
+ $mailingJobStatus = array(
+ 'Scheduled' => ts('Scheduled'),
+ 'Running' => ts('Running'),
+ 'Complete' => ts('Complete'),
+ 'Paused' => ts('Paused'),
+ 'Canceled' => ts('Canceled'),
+ );
+ }
+
+ return $mailingJobStatus;
+ }
+
}
<type>varchar</type>
<length>12</length>
<comment>The type of contacts this group applies to</comment>
+ <pseudoconstant>
+ <table>civicrm_contact_type</table>
+ <keyColumn>name</keyColumn>
+ <labelColumn>label</labelColumn>
+ <condition>parent_id IS NULL</condition>
+ </pseudoconstant>
<add>1.8</add>
<html>
<type>Select</type>
<length>12</length>
<required>true</required>
<comment>Whether the rule should be used for cases where usage is Unsupervised, Supervised OR General(programatically)</comment>
+ <pseudoconstant>
+ <callback>CRM_Core_SelectValues::getDedupeRuleTypes()</callback>
+ </pseudoconstant>
<add>4.3</add>
<html>
<type>Select</type>
<type>varchar</type>
<length>8</length>
<comment>the general group of status type this one belongs to</comment>
+ <pseudoconstant>
+ <callback>CRM_Event_PseudoConstant::participantStatusClass()</callback>
+ </pseudoconstant>
<add>3.0</add>
<html>
<type>Select</type>
<length>8</length>
<required>true</required>
<comment>Type of bounce</comment>
- <html>
- <type>Select</type>
- </html>
</field>
<field>
<name>description</name>
<type>varchar</type>
<length>12</length>
<comment>Type of Component.</comment>
+ <pseudoconstant>
+ <callback>CRM_Core_SelectValues::mailingComponents()</callback>
+ </pseudoconstant>
<html>
<type>Select</type>
</html>
<length>40</length>
<default>'User and User Admin Only'</default>
<comment>In what context(s) is the mailing contents visible (online viewing)</comment>
+ <pseudoconstant>
+ <callback>CRM_Core_SelectValues::ufVisibility(true)</callback>
+ </pseudoconstant>
<add>3.3</add>
<html>
<type>Select</type>
<type>varchar</type>
<length>8</length>
<comment>Are the members of the group included or excluded?.</comment>
+ <pseudoconstant>
+ <callback>CRM_Core_SelectValues::getMailingGroupTypes()</callback>
+ </pseudoconstant>
<html>
<type>Select</type>
</html>
<type>varchar</type>
<length>12</length>
<comment>The state of this job</comment>
+ <pseudoconstant>
+ <callback>CRM_Core_SelectValues::geMailingJobStatus()</callback>
+ </pseudoconstant>
<html>
<type>Select</type>
</html>
<type>varchar</type>
<length>12</length>
<comment>Event when this status starts.</comment>
+ <pseudoconstant>
+ <callback>CRM_Core_SelectValues::eventDate()</callback>
+ </pseudoconstant>
<add>1.5</add>
<html>
<type>Select</type>
<type>varchar</type>
<length>8</length>
<comment>Unit used for adjusting from start_event.</comment>
+ <pseudoconstant>
+ <callback>CRM_Core_SelectValues::unitList()</callback>
+ </pseudoconstant>
<add>1.5</add>
<html>
<type>Select</type>
<type>varchar</type>
<length>12</length>
<comment>Event after which this status ends.</comment>
+ <pseudoconstant>
+ <callback>CRM_Core_SelectValues::eventDate()</callback>
+ </pseudoconstant>
<add>1.5</add>
<html>
<type>Select</type>
<type>varchar</type>
<length>8</length>
<comment>Unit used for adjusting from the ending event.</comment>
+ <pseudoconstant>
+ <callback>CRM_Core_SelectValues::unitList()</callback>
+ </pseudoconstant>
<add>1.5</add>
<html>
<type>Select</type>
<type>varchar</type>
<length>8</length>
<comment>Unit in which membership period is expressed.</comment>
+ <pseudoconstant>
+ <callback>CRM_Core_SelectValues::unitList('duration')</callback>
+ </pseudoconstant>
<add>1.5</add>
<html>
<type>Select</type>
<type>varchar</type>
<length>8</length>
<comment>Rolling membership period starts on signup date. Fixed membership periods start on fixed_period_start_day.</comment>
+ <pseudoconstant>
+ <callback>CRM_Core_SelectValues::periodType()</callback>
+ </pseudoconstant>
<add>1.5</add>
</field>
<field>
<length>8</length>
<default>'month'</default>
<comment>Time units for recurrence of pledge payments.</comment>
+ <pseudoconstant>
+ <optionGroupName>recur_frequency_units</optionGroupName>
+ <keyColumn>name</keyColumn>
+ </pseudoconstant>
<add>2.1</add>
<html>
<type>Select</type>
<type>varchar</type>
<length>12</length>
<required>true</required>
+ <pseudoconstant>
+ <callback>CRM_Price_BAO_PriceField::htmlTypes()</callback>
+ </pseudoconstant>
<add>1.8</add>
<html>
<type>Select</type>