Completed
Push — 14.2 ( e07840...cec2da )
by Ralf
83:18 queued 52:04
created
etemplate/inc/class.etemplate_widget_htmlarea.inc.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
 	 * @param array $expand values for keys 'c', 'row', 'c_', 'row_', 'cont'
43 43
 	 * @param array $content
44 44
 	 * @param array &$validated=array() validated content
45
-	 * @return boolean true if no validation error, false otherwise
45
+	 * @return boolean|null true if no validation error, false otherwise
46 46
 	 */
47 47
 	public function validate($cname, array $expand, array $content, &$validated=array())
48 48
 	{
Please login to merge, or discard this patch.
etemplate/inc/class.etemplate_widget_tabbox.inc.php 1 patch
Doc Comments   +1 added lines, -3 removed lines patch added patch discarded remove patch
@@ -34,8 +34,7 @@  discard block
 block discarded – undo
34 34
 	 * content.  This prevents running the method on disabled tabs.
35 35
 	 *
36 36
 	 * @param string $method_name
37
-	 * @param array $params=array('') parameter(s) first parameter has to be the cname, second $expand!
38
-	 * @param boolean $respect_disabled=false false (default): ignore disabled, true: method is NOT run for disabled widgets AND their children
37
+	 * @param boolean $respect_disabled false (default): ignore disabled, true: method is NOT run for disabled widgets AND their children
39 38
 	 */
40 39
 	public function run($method_name, $params=array(''), $respect_disabled=false)
41 40
 	{
@@ -87,7 +86,6 @@  discard block
 block discarded – undo
87 86
 	 * @param array $expand values for keys 'c', 'row', 'c_', 'row_', 'cont'
88 87
 	 * @param array $content
89 88
 	 * @param array &$validated=array() validated content
90
-	 * @param array $expand=array values for keys 'c', 'row', 'c_', 'row_', 'cont'
91 89
 	 */
92 90
 	public function validate($cname, array $expand, array $content, &$validated=array())
93 91
 	{
Please login to merge, or discard this patch.
etemplate/inc/class.etemplate_widget_textbox.inc.php 1 patch
Doc Comments   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -49,8 +49,8 @@  discard block
 block discarded – undo
49 49
 	 * Reimplemented to handle legacy read-only by setting size < 0
50 50
 	 *
51 51
 	 * @param string|XMLReader $xml
52
-	 * @param boolean $cloned=true true: object does NOT need to be cloned, false: to set attribute, set them in cloned object
53
-	 * @return etemplate_widget_template current object or clone, if any attribute was set
52
+	 * @param boolean $cloned true: object does NOT need to be cloned, false: to set attribute, set them in cloned object
53
+	 * @return etemplate_widget_textbox current object or clone, if any attribute was set
54 54
 	 */
55 55
 	public function set_attrs($xml, $cloned=true)
56 56
 	{
@@ -105,7 +105,6 @@  discard block
 block discarded – undo
105 105
 	 * @param array $expand values for keys 'c', 'row', 'c_', 'row_', 'cont'
106 106
 	 * @param array $content
107 107
 	 * @param array &$validated=array() validated content
108
-	 * @param array $expand=array values for keys 'c', 'row', 'c_', 'row_', 'cont'
109 108
 	 */
110 109
 	public function validate($cname, array $expand, array $content, &$validated=array())
111 110
 	{
Please login to merge, or discard this patch.
etemplate/inc/class.etemplate_widget_toolbar.inc.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
 	 * @param array $expand values for keys 'c', 'row', 'c_', 'row_', 'cont'
43 43
 	 * @param array $content
44 44
 	 * @param array &$validated=array() validated content
45
-	 * @return boolean true if no validation error, false otherwise
45
+	 * @return boolean|null true if no validation error, false otherwise
46 46
 	 */
47 47
 	public function validate($cname, array $expand, array $content, &$validated=array())
48 48
 	{
Please login to merge, or discard this patch.
etemplate/inc/class.etemplate_widget_tree.inc.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -361,7 +361,6 @@  discard block
 block discarded – undo
361 361
 	 * Get options from $sel_options array for a given selectbox name
362 362
 	 *
363 363
 	 * @param string $name
364
-	 * @param boolean $no_lang=false value of no_lang attribute
365 364
 	 * @return array
366 365
 	 */
367 366
 	public static function selOptions($name)
@@ -400,7 +399,7 @@  discard block
 block discarded – undo
400 399
 	 *
401 400
 	 * @param string $widget_type
402 401
 	 * @param string $legacy_options options string of widget
403
-	 * @param boolean $no_lang=false initial value of no_lang attribute (some types set it to true)
402
+	 * @param boolean $no_lang initial value of no_lang attribute (some types set it to true)
404 403
 	 * @param boolean $readonly =false
405 404
 	 * @param mixed $value =null value for readonly
406 405
 	 * @return array with value => label pairs
Please login to merge, or discard this patch.
etemplate/inc/class.etemplate_widget_url.inc.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -52,7 +52,6 @@
 block discarded – undo
52 52
 	 * @param array $expand values for keys 'c', 'row', 'c_', 'row_', 'cont'
53 53
 	 * @param array $content
54 54
 	 * @param array &$validated=array() validated content
55
-	 * @param array $expand=array values for keys 'c', 'row', 'c_', 'row_', 'cont'
56 55
 	 */
57 56
 	public function validate($cname, array $expand, array $content, &$validated=array())
58 57
 	{
Please login to merge, or discard this patch.
etemplate/inc/class.etemplate_widget_vfs.inc.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -230,6 +230,7 @@
 block discarded – undo
230 230
 	* If the entry is not yet created, the file information is stored into the widget's value.
231 231
 	* When the form is submitted, the information for all files uploaded is available in the returned
232 232
 	* $content array and the application should deal with the file.
233
+	* @return string
233 234
 	*/
234 235
 	public static function store_file($path, $file)
235 236
 	{
Please login to merge, or discard this patch.
etemplate/inc/class.historylog_widget.inc.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -58,6 +58,7 @@
 block discarded – undo
58 58
 	 *
59 59
 	 * @param mixed &$value value / existing content, can be modified
60 60
 	 * @param array &$cell array with the widget, can be modified for ui-independent widgets
61
+	 * @param etemplate $tmpl
61 62
 	 * @return boolean true if extra label is allowed, false otherwise
62 63
 	 */
63 64
 	private function pre_process_helper(&$value, &$cell, $tmpl)
Please login to merge, or discard this patch.
etemplate/inc/class.link_widget.inc.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -115,7 +115,7 @@  discard block
 block discarded – undo
115 115
 	 * @param array &$readonlys names of widgets as key, to be made readonly
116 116
 	 * @param mixed &$extension_data data the extension can store persisten between pre- and post-process
117 117
 	 * @param object &$tmpl reference to the template we belong too
118
-	 * @return boolean true if extra label is allowed, false otherwise
118
+	 * @return null|boolean true if extra label is allowed, false otherwise
119 119
 	 */
120 120
 	function pre_process($name,&$value,&$cell,&$readonlys,&$extension_data,&$tmpl)
121 121
 	{
@@ -706,6 +706,7 @@  discard block
 block discarded – undo
706 706
 
707 707
 	/**
708 708
 	*	Get sub-types for the current application
709
+	* @param etemplate $tpl
709 710
 	*/
710 711
 	private static function get_sub_types($cell, &$value, &$tpl) {
711 712
 		// Get sub-types
Please login to merge, or discard this patch.