$relationshipType->id = $id;
if ($relationshipType->find(TRUE)) {
$direction = "contact_sub_type_$second";
- $target_type = 'contact_type_' . $second;
+ $target_type = 'contact_type_' . $second;
if (isset($relationshipType->$direction)) {
$relatedFields = array_merge((array) $relatedMapperFields[$relationshipType->$direction], (array) $relationshipCustomFields);
}
| GNU Affero General Public License or the licensing of CiviCRM, |
| see the CiviCRM license FAQ at http://civicrm.org/licensing |
+--------------------------------------------------------------------+
-*/
+ */
/**
* Manage translatable strings on behalf of resource files.
throw new Exception("Cannot extract strings: Unrecognized file type.");
}
}
+
}
| GNU Affero General Public License or the licensing of CiviCRM, |
| see the CiviCRM license FAQ at http://civicrm.org/licensing |
+--------------------------------------------------------------------+
-*/
+ */
/**
*
* - displaying elements for saving the search.
*/
public function buildQuickForm() {
-
// just need to add a javacript to popup the window for printing
-
$this->addButtons(array(
array(
'type' => 'next',
}
return $messages;
}
+
}
\ No newline at end of file
protected $caseTypeNames;
/**
- * @param CRM_Case_XMLRepository $xmlRepo
- * @param array <string> $caseTypeNames
+ * Class constructor.
*/
public function __construct() {
$this->caseTypeNames = CRM_Case_PseudoConstant::caseType('name');
);
/**
- * @var array
+ * @var array
* ($name => $className)
*/
private static $constants = NULL;
| GNU Affero General Public License or the licensing of CiviCRM, |
| see the CiviCRM license FAQ at http://civicrm.org/licensing |
+--------------------------------------------------------------------+
-*/
+ */
/**
*
$group->group_type = $groupType[$t];
$group->save();
+
}
| GNU Affero General Public License or the licensing of CiviCRM, |
| see the CiviCRM license FAQ at http://civicrm.org/licensing |
+--------------------------------------------------------------------+
-*/
+ */
/**
*
$date = sprintf("%4d%02d%02d", $year, $month, $day) . '000000';
return $date;
+
}