X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FContribute%2FPage%2FAJAX.php;h=9cbfacdd6af3d7fcc16294591e545b91a7357e41;hb=49f945a1f2646c922cae7d6f433f3097bfb595bf;hp=78fa36d714226bcc0784aeeb82a38d4024af9ca5;hpb=573259db1e67655fe25124c130a28687f562c33b;p=civicrm-core.git diff --git a/CRM/Contribute/Page/AJAX.php b/CRM/Contribute/Page/AJAX.php index 78fa36d714..9cbfacdd6a 100644 --- a/CRM/Contribute/Page/AJAX.php +++ b/CRM/Contribute/Page/AJAX.php @@ -3,7 +3,7 @@ +--------------------------------------------------------------------+ | CiviCRM version 5 | +--------------------------------------------------------------------+ - | Copyright CiviCRM LLC (c) 2004-2018 | + | Copyright CiviCRM LLC (c) 2004-2019 | +--------------------------------------------------------------------+ | This file is a part of CiviCRM. | | | @@ -28,7 +28,7 @@ /** * * @package CRM - * @copyright CiviCRM LLC (c) 2004-2018 + * @copyright CiviCRM LLC (c) 2004-2019 * */ @@ -36,18 +36,19 @@ * This class contains all the function that are called using AJAX (jQuery) */ class CRM_Contribute_Page_AJAX { + /** * Get Soft credit to list in DT */ public static function getSoftContributionRows() { - $requiredParameters = array( + $requiredParameters = [ 'cid' => 'Integer', 'context' => 'String', - ); - $optionalParameters = array( + ]; + $optionalParameters = [ 'entityID' => 'Integer', 'isTest' => 'Integer', - ); + ]; $params = CRM_Core_Page_AJAX::defaultSortAndPagerParams(); $params += CRM_Core_Page_AJAX::validateParams($requiredParameters, $optionalParameters);