}
/**
- * @param $error
- * @param const $type
+ * @param array $error
+ * @param int $type
*
* @return bool
*/
*/
/**
+ * @param $params
+ * @param $smarty
+ * @return string|void
*/
function smarty_function_crmAPI($params, &$smarty) {
if (!array_key_exists('action', $params)) {
/**
* Wrap every Smarty template in a {crmScope} tag that sets the
* variable "extensionKey" to blank.
+ * @param $tpl_source
+ * @param $smarty
+ * @return string
*/
function smarty_prefilter_resetExtScope($tpl_source, &$smarty) {
return
/**
* Process the participant
*
- * @param array $params
+ * @param CRM_Core_Form $form
* @param int $contactID
- *
- * @return void
+ * @return \CRM_Event_BAO_Participant
*/
public static function addParticipant(&$form, $contactID) {
if (empty($form->_params)) {
* structures to represent the order in which tokens were found from left to right, top to bottom.
*
*
- * @param string $propName of the property that holds the text that we want to scan for tokens (html, text).
+ * @param string $prop name of the property that holds the text that we want to scan for tokens (html, text).
* Name of the property that holds the text that we want to scan for tokens (html, text).
*
* @return void
*
* @param int $id
* Id of the database record.
- * @param bool $isQuickConfigValue we want to set the is_quick_config field.
+ * @param bool $isQuickConfig we want to set the is_quick_config field.
* Value we want to set the is_quick_config field.
*
* @return Object
- * DAO object on sucess, null otherwise
+ * DAO object on success, null otherwise
*/
public static function setIsQuickConfig($id, $isQuickConfig) {
return CRM_Core_DAO::setFieldValue('CRM_Upgrade_Snapshot_V4p2_Price_DAO_Set', $id, 'is_quick_config', $isQuickConfig);