@@ -140,7 +140,7 @@ |
||
140 | 140 | |
141 | 141 | /** |
142 | 142 | * Disable edit if call is recurring and source is not Sugar. It should be edited only from Outlook. |
143 | - * @param $view string |
|
143 | + * @param string $view string |
|
144 | 144 | * @param $is_owner bool |
145 | 145 | */ |
146 | 146 | function ACLAccess($view,$is_owner='not_set',$in_group='not_set'){ |
@@ -69,6 +69,11 @@ |
||
69 | 69 | |
70 | 70 | } |
71 | 71 | |
72 | +/** |
|
73 | + * @param string $field |
|
74 | + * @param string $value |
|
75 | + * @param string $view |
|
76 | + */ |
|
72 | 77 | function reschedule_count($focus, $field, $value, $view){ |
73 | 78 | |
74 | 79 | $query = "SELECT COUNT(*) FROM calls_reschedule WHERE call_id='".$focus->id."'"; |
@@ -399,7 +399,7 @@ |
||
399 | 399 | * with a campaign. |
400 | 400 | * |
401 | 401 | * @param string $query Select query string |
402 | - * @param array $param array of arguments |
|
402 | + * @param array $params array of arguments |
|
403 | 403 | * @return string count query |
404 | 404 | * |
405 | 405 | */ |
@@ -100,7 +100,7 @@ discard block |
||
100 | 100 | /** |
101 | 101 | * Given an email address, mark it as invalid. |
102 | 102 | * |
103 | - * @param $email_address |
|
103 | + * @param Email $email_address |
|
104 | 104 | */ |
105 | 105 | function markEmailAddressInvalid($email_address) |
106 | 106 | { |
@@ -118,6 +118,7 @@ discard block |
||
118 | 118 | * Get the existing campaign log entry by tracker key. |
119 | 119 | * |
120 | 120 | * @param string Target Key |
121 | + * @param string $identifier |
|
121 | 122 | * @return array Campaign Log Row |
122 | 123 | */ |
123 | 124 | function getExistingCampaignLogEntry($identifier) |
@@ -136,6 +137,7 @@ discard block |
||
136 | 137 | * Scan the bounced email searching for a valid target identifier. |
137 | 138 | * |
138 | 139 | * @param string Email Description |
140 | + * @param string $email_description |
|
139 | 141 | * @return array Results including matches and identifier |
140 | 142 | */ |
141 | 143 | function checkBouncedEmailForIdentifier($email_description) |
@@ -285,6 +285,9 @@ discard block |
||
285 | 285 | * This method is deprecated |
286 | 286 | * @deprecated 62_Joneses - June 24, 2011 |
287 | 287 | * @see campaign_log_lead_or_contact_entry() |
288 | + * @param Prospect $parent_bean |
|
289 | + * @param SugarBean $child_bean |
|
290 | + * @param string $activity_type |
|
288 | 291 | */ |
289 | 292 | function campaign_log_lead_entry($campaign_id, $parent_bean,$child_bean,$activity_type){ |
290 | 293 | campaign_log_lead_or_contact_entry($campaign_id, $parent_bean,$child_bean,$activity_type); |
@@ -442,6 +445,7 @@ discard block |
||
442 | 445 | |
443 | 446 | /** |
444 | 447 | * same function as get_subscription_lists, but with the data separated in an associated array |
448 | + * @param Contact $focus |
|
445 | 449 | */ |
446 | 450 | function get_subscription_lists_keyed($focus) { |
447 | 451 | $subs_arr = array(); |
@@ -200,6 +200,9 @@ |
||
200 | 200 | |
201 | 201 | } |
202 | 202 | |
203 | + /** |
|
204 | + * @param string $query |
|
205 | + */ |
|
203 | 206 | function getChartData($query) |
204 | 207 | { |
205 | 208 | global $app_list_strings, $db; |
@@ -241,7 +241,7 @@ |
||
241 | 241 | * awu: Bug 16794 - this function is a hack to get the correct sales stage order until |
242 | 242 | * i can clean it up later |
243 | 243 | * |
244 | - * @param $query string |
|
244 | + * @param string $query string |
|
245 | 245 | * @return array |
246 | 246 | */ |
247 | 247 | function getChartData( |
@@ -182,6 +182,10 @@ discard block |
||
182 | 182 | } |
183 | 183 | return $sugar_config; |
184 | 184 | } |
185 | + |
|
186 | + /** |
|
187 | + * @param string $override |
|
188 | + */ |
|
185 | 189 | function saveOverride($override) { |
186 | 190 | require_once('install/install_utils.php'); |
187 | 191 | if ( !file_exists('config_override.php') ) { |
@@ -230,6 +234,11 @@ discard block |
||
230 | 234 | } |
231 | 235 | } |
232 | 236 | |
237 | + /** |
|
238 | + * @param string $path |
|
239 | + * |
|
240 | + * @return string |
|
241 | + */ |
|
233 | 242 | function checkTempImage($path) |
234 | 243 | { |
235 | 244 | if(!verify_uploaded_image($path)) { |
@@ -705,6 +705,9 @@ discard block |
||
705 | 705 | echo $json->encode($results); |
706 | 706 | } |
707 | 707 | |
708 | + /** |
|
709 | + * @param string $field_name |
|
710 | + */ |
|
708 | 711 | function add_social_field($module, $field_name) |
709 | 712 | { |
710 | 713 | |
@@ -741,6 +744,10 @@ discard block |
||
741 | 744 | |
742 | 745 | } |
743 | 746 | |
747 | + /** |
|
748 | + * @param string $view |
|
749 | + * @param string $panel_name |
|
750 | + */ |
|
744 | 751 | private function create_panel_on_view($view, $field, $module, $panel_name){ |
745 | 752 | //require and create object. |
746 | 753 | require_once('modules/ModuleBuilder/parsers/ParserFactory.php'); |