<?php
/*
+--------------------------------------------------------------------+
- | CiviCRM version 4.6 |
+ | CiviCRM version 4.7 |
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2014 |
+ | Copyright CiviCRM LLC (c) 2004-2015 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
/**
*
* @package CRM
- * @copyright CiviCRM LLC (c) 2004-2014
+ * @copyright CiviCRM LLC (c) 2004-2015
* $Id$
*
*/
class CRM_Contact_Form_Task_PDF extends CRM_Contact_Form_Task {
/**
- * All the existing templates in the system
+ * All the existing templates in the system.
*
* @var array
*/
public $_activityId = NULL;
/**
- * Build all the data structures needed to build the form
+ * Build all the data structures needed to build the form.
*
* @return void
*/
}
/**
- * Build the form object
+ * Build the form object.
*
*
* @return void
}
/**
- * Process the form after the input has been submitted and validated
+ * Process the form after the input has been submitted and validated.
*
*
* @return void
CRM_Contact_Form_Task_PDFLetterCommon::postProcess($this);
}
+ /**
+ * List available tokens for this form.
+ *
+ * @return array
+ */
+ public function listTokens() {
+ $tokens = CRM_Core_SelectValues::contactTokens();
+ return $tokens;
+ }
+
}