Completed
Push — master ( 3ad5ef...acbd35 )
by Jean-Christophe
03:30
created
Ajax/semantic/widgets/base/FieldAsTrait.php 1 patch
Doc Comments   +11 added lines patch added patch discarded remove patch
@@ -30,9 +30,17 @@  discard block
 block discarded – undo
30 30
 trait FieldAsTrait{
31 31
 
32 32
 	abstract protected function _getFieldIdentifier($prefix,$name="");
33
+
34
+	/**
35
+	 * @param \Closure $callback
36
+	 */
33 37
 	abstract public function setValueFunction($index,$callback);
34 38
 	abstract protected function _getFieldName($index);
35 39
 	abstract protected function _getFieldCaption($index);
40
+
41
+	/**
42
+	 * @param string $event
43
+	 */
36 44
 	abstract protected function _buttonAsSubmit(BaseHtml &$button,$event,$url,$responseElement=NULL,$parameters=NULL);
37 45
 
38 46
 	/**
@@ -243,6 +251,9 @@  discard block
 block discarded – undo
243 251
 		}
244 252
 	}
245 253
 
254
+	/**
255
+	 * @param integer $index
256
+	 */
246 257
 	public function fieldAs($index,$type,$attributes=NULL){
247 258
 		$method="fieldAs".\ucfirst($type);
248 259
 		if(\method_exists($this, $method)){
Please login to merge, or discard this patch.