projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Mass cleanup of docblocks/code/comments
[civicrm-core.git]
/
CRM
/
Admin
/
Form
/
OptionGroup.php
diff --git
a/CRM/Admin/Form/OptionGroup.php
b/CRM/Admin/Form/OptionGroup.php
index da8b2be36f57c760689e2bb2ba064d38384982af..d95d3df76561e2aac8ccffdb3a2adcda703fcd26 100644
(file)
--- a/
CRM/Admin/Form/OptionGroup.php
+++ b/
CRM/Admin/Form/OptionGroup.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$
*
*/
@@
-40,9
+40,9
@@
class CRM_Admin_Form_OptionGroup extends CRM_Admin_Form {
/**
class CRM_Admin_Form_OptionGroup extends CRM_Admin_Form {
/**
- *
Function to build the form
+ *
Build the form object
*
*
- * @return
None
+ * @return
void
* @access public
*/
public function buildQuickForm() {
* @access public
*/
public function buildQuickForm() {
@@
-90,7
+90,7
@@
class CRM_Admin_Form_OptionGroup extends CRM_Admin_Form {
$element->freeze();
}
}
$element->freeze();
}
}
- if (
CRM_Utils_Array::value('is_reserved', $this->_values
)) {
+ if (
!empty($this->_values['is_reserved']
)) {
$this->freeze(array('name', 'is_active'));
}
}
$this->freeze(array('name', 'is_active'));
}
}
@@
-99,11
+99,11
@@
class CRM_Admin_Form_OptionGroup extends CRM_Admin_Form {
}
/**
}
/**
- *
Function to process the form
+ *
Process the form submission
*
* @access public
*
*
* @access public
*
- * @return
None
+ * @return
void
*/
public function postProcess() {
CRM_Utils_System::flushCache();
*/
public function postProcess() {
CRM_Utils_System::flushCache();