if ($this->_context == 'standalone') {
$this->addEntityRef('contact_id', ts('Contact'), array(
'create' => TRUE,
- 'api' => array('extra' => array('email'))
+ 'api' => array('extra' => array('email')),
), TRUE);
}
}
$memTypeJs = array(
'onChange' =>
- "CRM.buildCustomData( 'Membership', this.value ); buildAutoRenew(this.value, null );",
+ "CRM.buildCustomData( 'Membership', this.value ); buildAutoRenew(this.value, null );",
);
}
}
if (empty($formValues['source'])) {
$params['contribution_source'] = ts('%1 Membership: Offline signup (by %2)', array(
1 => $membershipType,
- 2 => $userName
+ 2 => $userName,
));
}
else {
* @param object $membership
* Object.
*
- * @return boolean
+ * @return bool
* true if mail was sent successfully
*/
public static function emailReceipt(&$form, &$formValues, &$membership) {