Add documentation for $options parameter in dba::delete
authorHypolite Petovan <mrpetovan@gmail.com>
Sun, 22 Apr 2018 15:33:20 +0000 (11:33 -0400)
committerHypolite Petovan <mrpetovan@gmail.com>
Sun, 22 Apr 2018 15:33:20 +0000 (11:33 -0400)
include/dba.php

index b41a7aa..33709e8 100644 (file)
@@ -858,6 +858,9 @@ class dba {
         *
         * @param string  $table       Table name
         * @param array   $conditions  Field condition(s)
+        * @param array   $options
+        *                - cascade: If true we delete records in other tables that depend on the one we're deleting through
+        *                           relations
         * @param boolean $in_process  Internal use: Only do a commit after the last delete
         * @param array   $callstack   Internal use: prevent endless loops
         *