@@ -40,6 +40,9 @@ discard block |
||
40 | 40 | } |
41 | 41 | |
42 | 42 | |
43 | +/** |
|
44 | + * @param string $str2 |
|
45 | + */ |
|
43 | 46 | function _strspn($str1, $str2, $start=null, $length=null) { |
44 | 47 | $numargs = func_num_args(); |
45 | 48 | if ($numargs == 2) { |
@@ -54,6 +57,10 @@ discard block |
||
54 | 57 | } |
55 | 58 | |
56 | 59 | |
60 | +/** |
|
61 | + * @param string $str2 |
|
62 | + * @param integer $start |
|
63 | + */ |
|
57 | 64 | function _strcspn($str1, $str2, $start=null, $length=null) { |
58 | 65 | $numargs = func_num_args(); |
59 | 66 | if ($numargs == 2) { |
@@ -30,6 +30,9 @@ |
||
30 | 30 | var $nextBits = 0; |
31 | 31 | var $andTable = array(511, 1023, 2047, 4095); |
32 | 32 | |
33 | + /** |
|
34 | + * @param string $msg |
|
35 | + */ |
|
33 | 36 | function error($msg) { |
34 | 37 | die($msg); |
35 | 38 | } |
@@ -279,6 +279,9 @@ |
||
279 | 279 | return true; |
280 | 280 | } |
281 | 281 | |
282 | + /** |
|
283 | + * @param EmailTemplate $template |
|
284 | + */ |
|
282 | 285 | function parse_template(SugarBean $bean, &$template, $object_override = array()){ |
283 | 286 | global $sugar_config; |
284 | 287 |
@@ -25,6 +25,10 @@ |
||
25 | 25 | */ |
26 | 26 | |
27 | 27 | class aowTemplateParser{ |
28 | + |
|
29 | + /** |
|
30 | + * @param string $key |
|
31 | + */ |
|
28 | 32 | function parse_template_bean($string, $key, &$focus) { |
29 | 33 | global $app_strings; |
30 | 34 | $repl_arr = array(); |
@@ -61,6 +61,9 @@ |
||
61 | 61 | return false; |
62 | 62 | } |
63 | 63 | |
64 | + /** |
|
65 | + * @param AOW_WorkFlow $parent |
|
66 | + */ |
|
64 | 67 | function save_lines($post_data, $parent, $key = ''){ |
65 | 68 | |
66 | 69 | require_once('modules/AOW_WorkFlow/aow_utils.php'); |
@@ -608,6 +608,9 @@ discard block |
||
608 | 608 | |
609 | 609 | } |
610 | 610 | |
611 | +/** |
|
612 | + * @param string $list_id |
|
613 | + */ |
|
611 | 614 | function getDropdownList($list_id, $selected_value) { |
612 | 615 | global $app_list_strings; |
613 | 616 | $option = ''; |
@@ -634,6 +637,9 @@ discard block |
||
634 | 637 | return array_shift($countsKeys); |
635 | 638 | } |
636 | 639 | |
640 | +/** |
|
641 | + * @param string $id |
|
642 | + */ |
|
637 | 643 | function getRoundRobinUser($users, $id) { |
638 | 644 | |
639 | 645 | $file = create_cache_directory('modules/AOW_WorkFlow/Users/') . $id . 'lastUser.cache.php'; |
@@ -659,6 +665,9 @@ discard block |
||
659 | 665 | return $users[0]; |
660 | 666 | } |
661 | 667 | |
668 | +/** |
|
669 | + * @param string $id |
|
670 | + */ |
|
662 | 671 | function setLastUser($user_id, $id) { |
663 | 672 | |
664 | 673 | $_SESSION['lastuser'][$id] = $user_id; |
@@ -188,6 +188,9 @@ |
||
188 | 188 | return null; |
189 | 189 | } |
190 | 190 | |
191 | + /** |
|
192 | + * @param string $type |
|
193 | + */ |
|
191 | 194 | function build_flow_query_join($name, SugarBean $module, $type, $query = array()){ |
192 | 195 | |
193 | 196 | if(!isset($query['join'][$name])){ |
@@ -130,6 +130,9 @@ discard block |
||
130 | 130 | return self::getOccursWhereClauseGeneral($table_name, $rel_table, $start_ts_obj, $end_ts_obj, $field_name, array('self', 'until')); |
131 | 131 | } |
132 | 132 | |
133 | + /** |
|
134 | + * @param User $user_focus |
|
135 | + */ |
|
133 | 136 | function get_freebusy_activities($user_focus, $start_date_time, $end_date_time){ |
134 | 137 | $act_list = array(); |
135 | 138 | $vcal_focus = new vCal(); |
@@ -258,7 +261,7 @@ discard block |
||
258 | 261 | * @param SugarDateTime $start_ts_obj start date |
259 | 262 | * @param SugarDateTime $end_ts_obj end date |
260 | 263 | * @param string $field_name date field in table |
261 | - * @param array $callback callback function to generete specific SQL query-part |
|
264 | + * @param string[] $callback callback function to generete specific SQL query-part |
|
262 | 265 | * @return string |
263 | 266 | */ |
264 | 267 | protected static function getOccursWhereClauseGeneral($table_name, $rel_table, $start_ts_obj, $end_ts_obj, $field_name, $callback) |
@@ -204,6 +204,7 @@ |
||
204 | 204 | |
205 | 205 | /** |
206 | 206 | * load settings popup template |
207 | + * @param Sugar_Smarty $ss |
|
207 | 208 | */ |
208 | 209 | protected function load_settings_template(&$ss){ |
209 | 210 |