@@ -118,8 +118,6 @@ discard block |
||
118 | 118 | |
119 | 119 | /** |
120 | 120 | * Generates the extended field_defs for creating macros |
121 | - * @param object $bean SugarBean |
|
122 | - * @param string $prefix "contact_", "user_" etc. |
|
123 | 121 | * @return |
124 | 122 | */ |
125 | 123 | function generateFieldDefsJS() |
@@ -366,7 +364,7 @@ discard block |
||
366 | 364 | /** |
367 | 365 | * |
368 | 366 | * Method for replace "preg_match_all" in method "parse_tracker_urls" |
369 | - * @param $text string String in which we need to search all string that match the pattern {.} |
|
367 | + * @param string $text string String in which we need to search all string that match the pattern {.} |
|
370 | 368 | * @return array result of search |
371 | 369 | */ |
372 | 370 | private function _preg_match_tracker_url($text) |
@@ -68,7 +68,7 @@ |
||
68 | 68 | * Return the "breadcrumbs" to display at the top of the page |
69 | 69 | * |
70 | 70 | * @param bool $show_help optional, true if we show the help links |
71 | - * @return HTML string containing breadcrumb title |
|
71 | + * @return string string containing breadcrumb title |
|
72 | 72 | */ |
73 | 73 | public function getModuleTitle($show_help = true) |
74 | 74 | { |
@@ -598,6 +598,12 @@ |
||
598 | 598 | } |
599 | 599 | |
600 | 600 | //handles sending the emails |
601 | + |
|
602 | + /** |
|
603 | + * @param string $emailToname |
|
604 | + * @param string $emailBody |
|
605 | + * @param string $altemailBody |
|
606 | + */ |
|
601 | 607 | public function sendEmail($emailTo, $emailSubject, $emailToname, $emailBody, $altemailBody, SugarBean $relatedBean = null, $attachments = array()){ |
602 | 608 | |
603 | 609 | $emailObj = new Email(); |
@@ -142,6 +142,9 @@ |
||
142 | 142 | return $options; |
143 | 143 | } |
144 | 144 | |
145 | + /** |
|
146 | + * @param string $url |
|
147 | + */ |
|
145 | 148 | protected function getRSSOutput( |
146 | 149 | $url |
147 | 150 | ) |
@@ -78,7 +78,7 @@ discard block |
||
78 | 78 | * 'order' => 'name', // order by |
79 | 79 | * 'limit' => '30', // limit, number of records to return |
80 | 80 | * ) |
81 | - * @return array list of elements returned |
|
81 | + * @return string list of elements returned |
|
82 | 82 | */ |
83 | 83 | public function query($args) |
84 | 84 | { |
@@ -107,7 +107,7 @@ discard block |
||
107 | 107 | * Returns the list of users, faster than using query method for Users module |
108 | 108 | * |
109 | 109 | * @param array $args arguments used to construct query, see query() for example |
110 | - * @return array list of users returned |
|
110 | + * @return string list of users returned |
|
111 | 111 | */ |
112 | 112 | public function get_user_array($args) |
113 | 113 | { |
@@ -122,7 +122,7 @@ discard block |
||
122 | 122 | * Returns search results from external API |
123 | 123 | * |
124 | 124 | * @param array $args |
125 | - * @return array |
|
125 | + * @return string |
|
126 | 126 | */ |
127 | 127 | public function externalApi($args) |
128 | 128 | { |
@@ -496,7 +496,6 @@ discard block |
||
496 | 496 | /** |
497 | 497 | * Returns prepared arguments. Should be redefined in child classes. |
498 | 498 | * |
499 | - * @param array $arguments |
|
500 | 499 | * @return array |
501 | 500 | */ |
502 | 501 | protected function prepareArguments($args) |
@@ -188,6 +188,9 @@ discard block |
||
188 | 188 | $output = preg_replace(array('/(?<=[^A-Z])([A-Z])/', '/(?<=[^0-9])([0-9])/'), $sep.'$0', $input); |
189 | 189 | return ucwords($output); |
190 | 190 | } |
191 | +/** |
|
192 | + * @param string $module |
|
193 | + */ |
|
191 | 194 | function getModuleLabel($module){ |
192 | 195 | return translate('LBL_MODULE_NAME', $module); |
193 | 196 | } |
@@ -197,6 +200,9 @@ discard block |
||
197 | 200 | sugar_file_put_contents_atomic($file, $out); |
198 | 201 | } |
199 | 202 | |
203 | +/** |
|
204 | + * @param string $filePath |
|
205 | + */ |
|
200 | 206 | function getCorrectMTime($filePath){ |
201 | 207 | $time = filemtime($filePath); |
202 | 208 | $isDST = (date('I', $time) == 1); |
@@ -156,6 +156,7 @@ |
||
156 | 156 | * set HTTP return status and mirror it in a private header |
157 | 157 | * |
158 | 158 | * @param string status code and message |
159 | + * @param string $status |
|
159 | 160 | * @return void |
160 | 161 | */ |
161 | 162 | public function http_status($status) |
@@ -191,7 +191,7 @@ |
||
191 | 191 | * Creates the string for the user's events and todos between the given start |
192 | 192 | * and end times |
193 | 193 | * |
194 | - * @param UserBean $user_bean the current UserBean |
|
194 | + * @param User $user_bean the current UserBean |
|
195 | 195 | * @param DateTime $start_date_time the start date to search from |
196 | 196 | * @param DateTime $end_date_time the end date to search to |
197 | 197 | * @param string $dtstamp the current timestamp |
@@ -133,7 +133,6 @@ |
||
133 | 133 | /** |
134 | 134 | * Checks to see if the given bean is a duplicate based off the given fields |
135 | 135 | * |
136 | - * @param array $indexlist |
|
137 | 136 | * @return bool true if this bean is a duplicate or false if it isn't |
138 | 137 | */ |
139 | 138 | public function isADuplicateRecordByFields($fieldList) |