X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FUtils%2FSQL%2FDelete.php;h=fcb5443030cc6afe153a3548f977cad9dba35cb3;hb=dd76c9c23533c2f6a4d89f603f04f13c2ee49440;hp=6bbc076691c71146d757d848c3d1fdddd0ee7bdc;hpb=d42861d656975793fcfe54ef36097aa602b273b3;p=civicrm-core.git diff --git a/CRM/Utils/SQL/Delete.php b/CRM/Utils/SQL/Delete.php index 6bbc076691..fcb5443030 100644 --- a/CRM/Utils/SQL/Delete.php +++ b/CRM/Utils/SQL/Delete.php @@ -13,7 +13,7 @@ * Dear God Why Do I Have To Write This (Dumb SQL Builder) * * Usage: - * @code + * ``` * $del = CRM_Utils_SQL_Delete::from('civicrm_activity act') * ->where('activity_type_id = #type', array('type' => 234)) * ->where('status_id IN (#statuses)', array('statuses' => array(1,2,3)) @@ -24,7 +24,7 @@ * 'value' => $form['foo'] * )) * echo $del->toSQL(); - * @endcode + * ``` * * Design principles: * - Portable @@ -48,7 +48,7 @@ * xor output. The notations for input and output interpolation are a bit different, * and they may not be mixed. * - * @code + * ``` * // Interpolate on input. Set params when using them. * $select->where('activity_type_id = #type', array( * 'type' => 234, @@ -58,7 +58,7 @@ * $select * ->where('activity_type_id = #type') * ->param('type', 234), - * @endcode + * ``` * * @package CRM * @copyright CiviCRM LLC https://civicrm.org/licensing