@@ -21,7 +21,6 @@ |
||
| 21 | 21 | |
| 22 | 22 | /** |
| 23 | 23 | * @param string $identifier |
| 24 | - * @param array $items |
|
| 25 | 24 | * @return HtmlCardGroups |
| 26 | 25 | */ |
| 27 | 26 | public function htmlCardGroups($identifier, $cards=array()) { |
@@ -7,6 +7,11 @@ |
||
| 7 | 7 | * @property mixed $content |
| 8 | 8 | */ |
| 9 | 9 | trait ContentPartTrait{ |
| 10 | + |
|
| 11 | + /** |
|
| 12 | + * @param \Ajax\semantic\html\elements\HtmlButtonGroups $element |
|
| 13 | + * @param string $partKey |
|
| 14 | + */ |
|
| 10 | 15 | public function addElementInPart($element,$partKey,$before=false,$force=false){ |
| 11 | 16 | $part=$this->getPart($partKey,null,$force); |
| 12 | 17 | if($part instanceof HtmlSemDoubleElement){ |
@@ -12,6 +12,10 @@ |
||
| 12 | 12 | |
| 13 | 13 | class HtmlViewContent extends HtmlSemDoubleElement { |
| 14 | 14 | use ContentPartTrait; |
| 15 | + |
|
| 16 | + /** |
|
| 17 | + * @param string $identifier |
|
| 18 | + */ |
|
| 15 | 19 | public function __construct($identifier, $content=array()) { |
| 16 | 20 | parent::__construct($identifier, "div", "content",[]); |
| 17 | 21 | $this->setContent($content); |
@@ -10,6 +10,11 @@ discard block |
||
| 10 | 10 | */ |
| 11 | 11 | trait JsUtilsActionsTrait { |
| 12 | 12 | |
| 13 | + /** |
|
| 14 | + * @param string $element |
|
| 15 | + * @param string $js |
|
| 16 | + * @param string $event |
|
| 17 | + */ |
|
| 13 | 18 | abstract public function _add_event($element, $js, $event, $preventDefault=false, $stopPropagation=false,$immediatly=true); |
| 14 | 19 | /** |
| 15 | 20 | * show or hide with effect |
@@ -34,7 +39,7 @@ discard block |
||
| 34 | 39 | } |
| 35 | 40 | /** |
| 36 | 41 | * Ensures the speed parameter is valid for jQuery |
| 37 | - * @param string|int $speed |
|
| 42 | + * @param string $speed |
|
| 38 | 43 | * @return string |
| 39 | 44 | */ |
| 40 | 45 | private function _validate_speed($speed) { |
@@ -363,7 +368,7 @@ discard block |
||
| 363 | 368 | * |
| 364 | 369 | * @param string $element |
| 365 | 370 | * @param array $options |
| 366 | - * @return void |
|
| 371 | + * @return string |
|
| 367 | 372 | */ |
| 368 | 373 | public function sortable($element, $options=array()) { |
| 369 | 374 | if (count($options)>0) { |
@@ -434,7 +439,7 @@ discard block |
||
| 434 | 439 | * @param string $jqueryCall the JQuery callback |
| 435 | 440 | * @param mixed $param array or string parameters |
| 436 | 441 | * @param string $jsCallback javascript code to execute after the jquery call |
| 437 | - * @return mixed |
|
| 442 | + * @return string |
|
| 438 | 443 | */ |
| 439 | 444 | public function doJQuery($element, $jqueryCall, $param="", $jsCallback="") { |
| 440 | 445 | return $this->_doJQuery($element, $jqueryCall, $param, $jsCallback, true); |
@@ -446,7 +451,7 @@ discard block |
||
| 446 | 451 | * @param string $jqueryCall the JQuery callback |
| 447 | 452 | * @param mixed $param array or string parameters |
| 448 | 453 | * @param string $jsCallback javascript code to execute after the jquery call |
| 449 | - * @return mixed |
|
| 454 | + * @return string |
|
| 450 | 455 | */ |
| 451 | 456 | public function doJQueryDeferred($element, $jqueryCall, $param="", $jsCallback="") { |
| 452 | 457 | return $this->_doJQuery($element, $jqueryCall, $param, $jsCallback, false); |
@@ -458,7 +463,7 @@ discard block |
||
| 458 | 463 | * @param string $element |
| 459 | 464 | * @param string $elementToModify |
| 460 | 465 | * @param string $jqueryCall |
| 461 | - * @param string|array $param |
|
| 466 | + * @param string $param |
|
| 462 | 467 | * @param boolean $preventDefault |
| 463 | 468 | * @param boolean $stopPropagation |
| 464 | 469 | * @param string $jsCallback javascript code to execute after the jquery call |