X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FContact%2FForm%2FEdit%2FTagsAndGroups.php;h=d7b91d266ebd7683ef061809b045f2d41d02c5a7;hb=d3c71b2f4fb869348bdaf270fc02fdc4f29b8641;hp=539f7206cb1eb1a2171b1b714aa6d935a5c1942a;hpb=2ea9e524c71b7d83bc9eba7f1d630997f45ebcc0;p=civicrm-core.git diff --git a/CRM/Contact/Form/Edit/TagsAndGroups.php b/CRM/Contact/Form/Edit/TagsAndGroups.php index 539f7206cb..d7b91d266e 100644 --- a/CRM/Contact/Form/Edit/TagsAndGroups.php +++ b/CRM/Contact/Form/Edit/TagsAndGroups.php @@ -35,7 +35,7 @@ class CRM_Contact_Form_Edit_TagsAndGroups { /** - * constant to determine which forms we are generating + * Constant to determine which forms we are generating * * Used by both profile and edit contact */ @@ -45,7 +45,7 @@ class CRM_Contact_Form_Edit_TagsAndGroups { * This function is to build form elements * params object $form object of the form * - * @param Object $form the form object that we are operating on + * @param CRM_Core_Form $form the form object that we are operating on * @param int $contactId contact id * @param int $type what components are we interested in * @param boolean $visibility visibility of the field @@ -177,7 +177,7 @@ class CRM_Contact_Form_Edit_TagsAndGroups { } $form->assign('tagGroup', $form->_tagGroup); } - + static function climbtree($form, $tree, &$elements) { foreach ($tree as $tagID => $varValue) { $tagAttribute = array( @@ -195,7 +195,7 @@ class CRM_Contact_Form_Edit_TagsAndGroups { } /** - * set defaults for relevant form elements + * Set defaults for relevant form elements * * @param int $id the contact id * @param array $defaults the defaults array to store the values in @@ -245,12 +245,12 @@ class CRM_Contact_Form_Edit_TagsAndGroups { } /** - * This function sets the default values for the form. Note that in edit/view mode + * Set default values for the form. Note that in edit/view mode * the default values are retrieved from the database * * @access public * - * @param $form + * @param CRM_Core_Form $form * @param $defaults * * @return void