mirror of
https://github.com/nextcloud/documentation.git
synced 2026-01-03 02:09:45 +07:00
Merge pull request #9350 from nextcloud/enhancement/deprecated-directive
Use deprecated directive instead of note
This commit is contained in:
@@ -669,7 +669,8 @@ tbd
|
||||
Hooks
|
||||
-----
|
||||
|
||||
.. warning:: The hooks mechanism is deprecated. Use the `OCP event dispatcher`_ instead.
|
||||
.. deprecated:: 18
|
||||
Use the `OCP event dispatcher`_ instead.
|
||||
|
||||
.. sectionauthor:: Bernhard Posselt <dev@bernhard-posselt.com>
|
||||
|
||||
@@ -853,8 +854,9 @@ Filesystem scanner hooks available in scope **\\OC\\Files\\Utils\\Scanner**:
|
||||
|
||||
|
||||
Public emitter
|
||||
--------------------
|
||||
--------------
|
||||
|
||||
.. warning:: The public emitter mechanism is deprecated. Use the `OCP event dispatcher`_ instead.
|
||||
.. deprecated:: 18
|
||||
Use the `OCP event dispatcher`_ instead.
|
||||
|
||||
tbd
|
||||
|
||||
@@ -314,8 +314,10 @@ mapping, simply override the **columnToProperty** and **propertyToColumn** metho
|
||||
|
||||
.. _database-entity-slugs:
|
||||
|
||||
Slugs (deprecated)
|
||||
^^^^^^^^^^^^^^^^^^
|
||||
Slugs
|
||||
^^^^^
|
||||
|
||||
.. deprecated:: 24
|
||||
|
||||
Slugs are used to identify resources in the URL by a string rather than integer id. Since the URL allows only certain values, the entity base class provides a slugify method for it:
|
||||
|
||||
@@ -326,8 +328,6 @@ Slugs are used to identify resources in the URL by a string rather than integer
|
||||
$author->setName('Some*thing');
|
||||
$author->slugify('name'); // Some-thing
|
||||
|
||||
.. note:: Entity slugs have been deprecated with the release of Nextcloud 24
|
||||
|
||||
Table management tips
|
||||
-------------------------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user