Skip to content

Commit

Permalink
Extend sendExtraUpdates() doc blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
yhabteab authored and nilmerg committed Aug 4, 2023
1 parent 8de7d69 commit 822c4c7
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/Compat/CompatController.php
Original file line number Diff line number Diff line change
Expand Up @@ -388,8 +388,11 @@ public function sendMultipartUpdate(BaseHtmlElement ...$additionalControls)
* Instruct the client to side-load additional updates
*
* If an item in the given array is indexed by an integer, its value will be used by the client to refresh
* the parent of the element identified by it. If indexed by a string, the client will use this index to
* identify a container (by id) and will use the value (a URL) to load content into it.
* the parent of the element identified by it. The value is expected to be a valid CSS selector such
* as `.foo`, `#foo`. If indexed by a string, the client will use this index to identify a container (by id) and
* will use the value (a URL) to load content into it. Since Icinga Web >= 2.12, the indices can be specified with
* or without the `#` indicator. If you require compatibility with older Icinga Web versions, you have to specify
* the indices (container ids) without the `#` char.
*
* @param array $updates
*
Expand Down

0 comments on commit 822c4c7

Please sign in to comment.