projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #4004 from civicrm/4.4
[civicrm-core.git]
/
CRM
/
Admin
/
Form
/
ContactType.php
diff --git
a/CRM/Admin/Form/ContactType.php
b/CRM/Admin/Form/ContactType.php
index 7c9f9da02c7021749e802876b0a48ac30d003bfa..74211e0ea06f9f723406f73e3c2321995e05cc8c 100644
(file)
--- a/
CRM/Admin/Form/ContactType.php
+++ b/
CRM/Admin/Form/ContactType.php
@@
-1,9
+1,9
@@
<?php
/*
+--------------------------------------------------------------------+
<?php
/*
+--------------------------------------------------------------------+
- | CiviCRM version 4.
4
|
+ | CiviCRM version 4.
5
|
+--------------------------------------------------------------------+
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-201
3
|
+ | Copyright CiviCRM LLC (c) 2004-201
4
|
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
@@
-28,7
+28,7
@@
/**
*
* @package CRM
/**
*
* @package CRM
- * @copyright CiviCRM LLC (c) 2004-201
3
+ * @copyright CiviCRM LLC (c) 2004-201
4
* $Id$
*
*/
* $Id$
*
*/
@@
-42,11
+42,13
@@
class CRM_Admin_Form_ContactType extends CRM_Admin_Form {
/**
* Function to build the form
*
/**
* Function to build the form
*
- * @return
None
+ * @return
void
* @access public
*/
public function buildQuickForm() {
parent::buildQuickForm();
* @access public
*/
public function buildQuickForm() {
parent::buildQuickForm();
+ $this->setPageTitle(ts('Contact Type'));
+
if ($this->_action & CRM_Core_Action::DELETE) {
return;
}
if ($this->_action & CRM_Core_Action::DELETE) {
return;
}
@@
-83,7
+85,10
@@
class CRM_Admin_Form_ContactType extends CRM_Admin_Form {
/**
* global form rule
*
/**
* global form rule
*
- * @param array $fields the input form values
+ * @param array $fields the input form values
+ *
+ * @param $files
+ * @param $self
*
* @return true if no errors, else array of errors
* @access public
*
* @return true if no errors, else array of errors
* @access public
@@
-117,7
+122,7
@@
class CRM_Admin_Form_ContactType extends CRM_Admin_Form {
*
* @access public
*
*
* @access public
*
- * @return
None
+ * @return
void
*/
public function postProcess() {
CRM_Utils_System::flushCache();
*/
public function postProcess() {
CRM_Utils_System::flushCache();
@@
-150,5
+155,6
@@
class CRM_Admin_Form_ContactType extends CRM_Admin_Form {
array(1 => $contactType->label)
), ts('Saved'), 'success');
}
array(1 => $contactType->label)
), ts('Saved'), 'success');
}
+
}
}