@@ -18,6 +18,9 @@ |
||
18 | 18 | |
19 | 19 | // $tpl_file, $cache_id, $compile_id, $results |
20 | 20 | |
21 | +/** |
|
22 | + * @param Smarty $smarty |
|
23 | + */ |
|
21 | 24 | function smarty_core_write_cache_file($params, &$smarty) |
22 | 25 | { |
23 | 26 |
@@ -48,6 +48,9 @@ |
||
48 | 48 | |
49 | 49 | //// COMMON |
50 | 50 | |
51 | +/** |
|
52 | + * @param string $type |
|
53 | + */ |
|
51 | 54 | function ajaxSqlProgress($persistence, $sql, $type) { |
52 | 55 | global $mod_strings; |
53 | 56 |
@@ -48,6 +48,9 @@ discard block |
||
48 | 48 | if ( isset($GLOBALS['log']) && class_implements($GLOBALS['log'],'LoggerTemplate') ) { |
49 | 49 | $GLOBALS['log']->deprecated('Use of PCLZip has been deprecated. Please enable the zip extension in your PHP install ( see http://www.php.net/manual/en/zip.installation.php for more details ).'); |
50 | 50 | } |
51 | +/** |
|
52 | + * @param false|string $zip_dir |
|
53 | + */ |
|
51 | 54 | function unzip( $zip_archive, $zip_dir, $forceOverwrite = false ){ |
52 | 55 | if( !is_dir( $zip_dir ) ){ |
53 | 56 | if (!defined('SUGAR_PHPUNIT_RUNNER')) |
@@ -100,6 +103,9 @@ discard block |
||
100 | 103 | } |
101 | 104 | } |
102 | 105 | |
106 | +/** |
|
107 | + * @param string $zip_dir |
|
108 | + */ |
|
103 | 109 | function zip_dir( $zip_dir, $zip_archive ){ |
104 | 110 | $archive = new PclZip( $zip_archive ); |
105 | 111 | $v_list = $archive->create( $zip_dir ); |
@@ -57,6 +57,9 @@ |
||
57 | 57 | parent::Basic(); |
58 | 58 | } |
59 | 59 | |
60 | + /** |
|
61 | + * @param AOR_Report $parent |
|
62 | + */ |
|
60 | 63 | function save_lines($post_data, $parent, $key = ''){ |
61 | 64 | |
62 | 65 | require_once('modules/AOW_WorkFlow/aow_utils.php'); |
@@ -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 | } |
@@ -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'); |
@@ -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( |
@@ -107,6 +107,7 @@ |
||
107 | 107 | |
108 | 108 | /** |
109 | 109 | * @see SugarView::getModuleTitleIconPath() |
110 | + * @param string $module |
|
110 | 111 | */ |
111 | 112 | protected function getModuleTitleIconPath($module) |
112 | 113 | { |
@@ -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 | { |