Completed
Push — develop ( 923a1c...1e9876 )
by Maxim
47s queued 29s
created
install/functions.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -32,6 +32,9 @@
 block discarded – undo
32 32
 	}
33 33
 }
34 34
 
35
+/**
36
+ * @param string $src
37
+ */
35 38
 function parse($src,$ph,$left='[+',$right='+]')
36 39
 {
37 40
 	foreach($ph as $k=>$v)
Please login to merge, or discard this patch.
manager/actions/bkmanager.static.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -520,6 +520,9 @@  discard block
 block discarded – undo
520 520
         $this->setDroptables(false);
521 521
     }
522 522
 
523
+    /**
524
+     * @param boolean $state
525
+     */
523 526
     function setDroptables($state)
524 527
     {
525 528
         $this->_isDroptables = $state;
@@ -734,6 +737,9 @@  discard block
 block discarded – undo
734 737
     $_SESSION['result_msg'] = $result_code;
735 738
 }
736 739
 
740
+/**
741
+ * @param string $dumpstring
742
+ */
737 743
 function dumpSql(&$dumpstring)
738 744
 {
739 745
     global $modx;
@@ -753,6 +759,9 @@  discard block
 block discarded – undo
753 759
     return true;
754 760
 }
755 761
 
762
+/**
763
+ * @param string $dumpstring
764
+ */
756 765
 function snapshot(&$dumpstring)
757 766
 {
758 767
     global $path;
Please login to merge, or discard this patch.
manager/actions/files.dynamic.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -565,6 +565,9 @@  discard block
 block discarded – undo
565 565
 
566 566
 }
567 567
 
568
+/**
569
+ * @param string $file
570
+ */
568 571
 function determineIcon($file, $selFile, $mode)
569 572
 {
570 573
     $icons = array(
@@ -709,6 +712,9 @@  discard block
 block discarded – undo
709 712
     return $path;
710 713
 }
711 714
 
715
+/**
716
+ * @param string $string
717
+ */
712 718
 function getExtension($string)
713 719
 {
714 720
     $pos = strrpos($string, '.');
@@ -744,6 +750,9 @@  discard block
 block discarded – undo
744 750
     return @mkdir($strPath);
745 751
 }
746 752
 
753
+/**
754
+ * @param string $type
755
+ */
747 756
 function logFileChange($type, $filename)
748 757
 {
749 758
     //global $_lang;
Please login to merge, or discard this patch.
manager/actions/import_site.static.php 1 patch
Doc Comments   +14 added lines patch added patch discarded remove patch
@@ -160,6 +160,11 @@  discard block
 block discarded – undo
160 160
 	return $output;
161 161
 }
162 162
 
163
+/**
164
+ * @param integer $parent
165
+ * @param string $filedir
166
+ * @param string $mode
167
+ */
163 168
 function importFiles($parent, $filedir, $files, $mode) {
164 169
 	global $modx;
165 170
 	global $_lang, $allowedfiles;
@@ -302,6 +307,9 @@  discard block
 block discarded – undo
302 307
 	}
303 308
 }
304 309
 
310
+/**
311
+ * @param string $directory
312
+ */
305 313
 function getFiles($directory, $listing = array(), $count = 0) {
306 314
 	global $_lang;
307 315
 	global $filesfound;
@@ -326,6 +334,9 @@  discard block
 block discarded – undo
326 334
 	return ($listing);
327 335
 }
328 336
 
337
+/**
338
+ * @param string $filepath
339
+ */
329 340
 function getFileContent($filepath) {
330 341
 	global $_lang;
331 342
 	// get the file
@@ -353,6 +364,9 @@  discard block
 block discarded – undo
353 364
 	return $new_array;
354 365
 }
355 366
 
367
+/**
368
+ * @param null|string $src
369
+ */
356 370
 function treatContent($src, $filename, $alias) {
357 371
 	global $modx;
358 372
 
Please login to merge, or discard this patch.
manager/actions/mutate_settings/functions.inc.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,6 +16,7 @@  discard block
 block discarded – undo
16 16
 /**
17 17
  * get_langs_by_key
18 18
  * 
19
+ * @param string $key
19 20
  * @return array of languages that define the key in their file
20 21
  */
21 22
 function get_langs_by_key($key) {
@@ -36,7 +37,7 @@  discard block
 block discarded – undo
36 37
  * 
37 38
  * @param string $key specify language key to return options of langauges that override it, default return all languages
38 39
  * @param string $selected_lang specify language to select in option list, default none
39
- * @return html option list
40
+ * @return string option list
40 41
  */
41 42
 function get_lang_options($key=null, $selected_lang=null) {
42 43
     global $lang_keys, $_lang;
Please login to merge, or discard this patch.
manager/frames/nodes.functions.inc.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -504,6 +504,9 @@
 block discarded – undo
504 504
 	return $iconsPrivate;
505 505
 }
506 506
 
507
+/**
508
+ * @return string
509
+ */
507 510
 function getNodeTitle($nodeNameSource, $row) {
508 511
 	global $modx;
509 512
 
Please login to merge, or discard this patch.
manager/includes/categories.inc.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -3,6 +3,9 @@
 block discarded – undo
3 3
 //Kyle Jaebker - 08/07/06
4 4
 
5 5
 //Create a new category
6
+/**
7
+ * @param string $newCat
8
+ */
6 9
 function newCategory($newCat) {
7 10
     global $modx;
8 11
     $useTable = $modx->getFullTableName('categories');
Please login to merge, or discard this patch.
manager/includes/controls/datagrid.class.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -52,6 +52,9 @@  discard block
 block discarded – undo
52 52
 	var $selPageClass;
53 53
 	var $noRecordMsg = "No records found.";
54 54
 
55
+	/**
56
+	 * @param string $id
57
+	 */
55 58
 	function __construct($id, $ds, $pageSize = 20, $pageNumber = -1) {
56 59
 		global $__DataGridCnt;
57 60
 
@@ -187,6 +190,9 @@  discard block
 block discarded – undo
187 190
 
188 191
 	// format column values
189 192
 
193
+	/**
194
+	 * @param integer $n
195
+	 */
190 196
 	function RenderRowFnc($n, $row) {
191 197
 		if($this->_alt == 0) {
192 198
 			$Style = $this->_itemStyle;
Please login to merge, or discard this patch.
manager/includes/controls/datasetpager.class.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -73,6 +73,9 @@
 block discarded – undo
73 73
 		$this->pageSize = $ps;
74 74
 	}
75 75
 
76
+	/**
77
+	 * @param DataGrid $fncName
78
+	 */
76 79
 	function setRenderRowFnc($fncName, $args = "") {
77 80
 		$this->renderRowFnc = &$fncName;
78 81
 		$this->renderRowFncArgs = $args;    // extra agruments
Please login to merge, or discard this patch.