<?php
/*
+--------------------------------------------------------------------+
- | CiviCRM version 4.5 |
+ | CiviCRM version 4.6 |
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2014 |
+ | Copyright CiviCRM LLC (c) 2004-2015 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
| GNU Affero General Public License or the licensing of CiviCRM, |
| see the CiviCRM license FAQ at http://civicrm.org/licensing |
+--------------------------------------------------------------------+
-*/
+ */
/**
*
* @package CRM
- * @copyright CiviCRM LLC (c) 2004-2014
+ * @copyright CiviCRM LLC (c) 2004-2015
* $Id$
*
*/
class CRM_Admin_Form_LocationType extends CRM_Admin_Form {
/**
- * Build the form object
+ * Build the form object.
*
* @return void
- * @access public
*/
public function buildQuickForm() {
parent::buildQuickForm();
}
/**
- * Process the form submission
+ * Process the form submission.
*
- * @access public
*
* @return void
*/
$locationType->save();
CRM_Core_Session::setStatus(ts("The location type '%1' has been saved.",
- array(1 => $locationType->name)
- ), ts('Saved'), 'success');
+ array(1 => $locationType->name)
+ ), ts('Saved'), 'success');
}
}