X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FContribute%2FForm%2FTask%2FInvoice.php;h=b95eb6f0312e7b8d4aa9812dce7524ee70f50ad6;hb=76e7a76c36e82fca4901e87abf8f1afddf2384ef;hp=73b30e31c6008d247e9a07f7f1f541880c8c3297;hpb=c6e262c51134924a9cc023dcb0613238fd1d0451;p=civicrm-core.git diff --git a/CRM/Contribute/Form/Task/Invoice.php b/CRM/Contribute/Form/Task/Invoice.php index 73b30e31c6..b95eb6f031 100644 --- a/CRM/Contribute/Form/Task/Invoice.php +++ b/CRM/Contribute/Form/Task/Invoice.php @@ -209,7 +209,6 @@ class CRM_Contribute_Form_Task_Invoice extends CRM_Contribute_Form_Task { * * @return array * list of errors to be posted back to the form - * @static */ public static function formRule($values) { $errors = array(); @@ -233,8 +232,7 @@ class CRM_Contribute_Form_Task_Invoice extends CRM_Contribute_Form_Task { } /** - * - * process the PDf and email with activity and attachment + * Process the PDf and email with activity and attachment * on click of Print Invoices * * @param array $contribIDs @@ -245,7 +243,6 @@ class CRM_Contribute_Form_Task_Invoice extends CRM_Contribute_Form_Task { * Contact Id. * @param CRM_Core_Form $form * Form object. - * @static */ public static function printPDF($contribIDs, &$params, $contactIds, &$form) { // get all the details needed to generate a invoice @@ -575,9 +572,7 @@ class CRM_Contribute_Form_Task_Invoice extends CRM_Contribute_Form_Task { } /** - * - * This function is use for adding activity for - * Email Invoice and the PDF Invoice + * Add activity for Email Invoice and the PDF Invoice * * @param string $subject * Activity subject. @@ -588,7 +583,6 @@ class CRM_Contribute_Form_Task_Invoice extends CRM_Contribute_Form_Task { * @param array $params * For invoices. * - * @static */ static public function addActivities($subject, $contactIds, $fileName, $params) { $session = CRM_Core_Session::singleton(); @@ -626,16 +620,13 @@ class CRM_Contribute_Form_Task_Invoice extends CRM_Contribute_Form_Task { } /** + * Create the Invoice file in upload folder for attachment * - * This function is use for creating the Invoice file in upload folder - * for attachment - * - * @param $html + * @param string $html * Content for pdf in html format. * - * return $fileName of file which is in pdf format - * * @return string + * Name of file which is in pdf format */ static public function putFile($html) { require_once "packages/dompdf/dompdf_config.inc.php";