mirror of
https://github.com/nextcloud/documentation.git
synced 2026-01-03 02:09:45 +07:00
Fix highlighting (missing php start tag)
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
This commit is contained in:
@@ -129,6 +129,7 @@ need to support older versions where the new app boostrap flow is not available,
|
||||
however this method is deprecated and will be removed once Nextcloud 19 is EOL.
|
||||
|
||||
.. code-block:: php
|
||||
<?php
|
||||
|
||||
use OCP\Dashboard\RegisterWidgetEvent;
|
||||
use OCP\EventDispatcher\IEventDispatcher;
|
||||
@@ -229,4 +230,4 @@ From the client point of view, the dashboard widget items can then be obtained w
|
||||
-d '{"sinceIds":{"myappwidgetid":"2021-03-22T15:01:10Z","my_other_appwidgetid":"333"}}'
|
||||
|
||||
If your client periodically gets widget items content with this API,
|
||||
include the latest `sinceId` for each widget to avoid getting the items you already have.
|
||||
include the latest `sinceId` for each widget to avoid getting the items you already have.
|
||||
|
||||
Reference in New Issue
Block a user