File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
user_guide_src/source/models Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -166,7 +166,7 @@ $useTimestamps
166
166
This boolean value determines whether the current date is automatically added to all inserts
167
167
and updates. If ``true ``, will set the current time in the format specified by `$dateFormat `_. This
168
168
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 `_.
170
170
171
171
$dateFormat
172
172
^^^^^^^^^^^
@@ -238,7 +238,7 @@ Callbacks
238
238
$allowCallbacks
239
239
^^^^^^^^^^^^^^^
240
240
241
- Whether the callbacks defined below should be used.
241
+ Whether the callbacks defined below should be used. See :ref: ` model-events `.
242
242
243
243
$beforeInsert
244
244
^^^^^^^^^^^^^
@@ -266,7 +266,7 @@ $afterUpdateBatch
266
266
^^^^^^^^^^^^^^^^^
267
267
268
268
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 `.
270
270
271
271
Working with Data
272
272
*****************
@@ -714,6 +714,8 @@ and specify the model's method at the end of the method chaining.
714
714
715
715
.. literalinclude :: model/046.php
716
716
717
+ .. _model-events :
718
+
717
719
Model Events
718
720
************
719
721
You can’t perform that action at this time.
0 commit comments