Skip to content

Commit de0f67f

Browse files
committed
docs: add references in page
1 parent ab2d13d commit de0f67f

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

user_guide_src/source/models/model.rst

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ $useTimestamps
166166
This boolean value determines whether the current date is automatically added to all inserts
167167
and updates. If ``true``, will set the current time in the format specified by `$dateFormat`_. This
168168
requires that the table have columns named **created_at**, **updated_at** and **deleted_at** in the appropriate
169-
data type.
169+
data type. See also `$createdField`_, `$updatedField`_, and `$deletedField`_.
170170

171171
$dateFormat
172172
^^^^^^^^^^^
@@ -238,7 +238,7 @@ Callbacks
238238
$allowCallbacks
239239
^^^^^^^^^^^^^^^
240240

241-
Whether the callbacks defined below should be used.
241+
Whether the callbacks defined below should be used. See :ref:`model-events`.
242242

243243
$beforeInsert
244244
^^^^^^^^^^^^^
@@ -266,7 +266,7 @@ $afterUpdateBatch
266266
^^^^^^^^^^^^^^^^^
267267

268268
These arrays allow you to specify callback methods that will be run on the data at the
269-
time specified in the property name.
269+
time specified in the property name. See :ref:`model-events`.
270270

271271
Working with Data
272272
*****************
@@ -714,6 +714,8 @@ and specify the model's method at the end of the method chaining.
714714

715715
.. literalinclude:: model/046.php
716716

717+
.. _model-events:
718+
717719
Model Events
718720
************
719721

0 commit comments

Comments
 (0)