<?php
/*
+--------------------------------------------------------------------+
- | CiviCRM version 4.5 |
+ | CiviCRM version 4.6 |
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2014 |
+--------------------------------------------------------------------+
* The id of the pledge payment that we are proceessing
*
* @var int
- * @public
*/
public $_id;
* Set variables up before form is built
*
* @return void
- * @access public
*/
public function preProcess() {
// check for edit permission
* Set default values for the form.
* the default values are retrieved from the database
*
- * @access public
*
* @return void
*/
- function setDefaultValues() {
+ public function setDefaultValues() {
$defaults = array();
if ($this->_id) {
$params['id'] = $this->_id;
* Build the form object
*
* @return void
- * @access public
*/
public function buildQuickForm() {
//add various dates
/**
* Process the form submission
*
- * @access public
*
* @return void
*/
CRM_Core_Session::setStatus($statusMsg, ts('Saved'), 'success');
}
}
-