projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
CRM-15603 - Standardize punctuation of 'Event templates are not meant to be registered.'
[civicrm-core.git]
/
CRM
/
Utils
/
PseudoConstant.php
diff --git
a/CRM/Utils/PseudoConstant.php
b/CRM/Utils/PseudoConstant.php
index 3cdeb9b71c01826661865a1177fd52d57f21dab4..6c2dc9e883b56d6c268b1b730efabc5989e7603b 100644
(file)
--- a/
CRM/Utils/PseudoConstant.php
+++ b/
CRM/Utils/PseudoConstant.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. |
| |
@@
-54,6
+54,8
@@
class CRM_Utils_PseudoConstant {
* @access public
* @static
*
* @access public
* @static
*
+ * @param $constant
+ *
* @return array - array reference of all relevant constant
*/
public static function getConstant($constant) {
* @return array - array reference of all relevant constant
*/
public static function getConstant($constant) {
@@
-73,6
+75,8
@@
class CRM_Utils_PseudoConstant {
* @access public
* @static
*
* @access public
* @static
*
+ * @param $constant
+ *
* @return array - array reference of all relevant constant
*/
public static function flushConstant($constant) {
* @return array - array reference of all relevant constant
*/
public static function flushConstant($constant) {
@@
-93,7
+97,9
@@
class CRM_Utils_PseudoConstant {
* If there's a full, preloaded map, use it. Otherwise, use search
* class space.
*
* If there's a full, preloaded map, use it. Otherwise, use search
* class space.
*
- * @param string $name constant-name
+ * @param $constant
+ *
+ * @internal param string $name constant-name
* @return string|NULL class-name
*/
public static function findConstantClass($constant) {
* @return string|NULL class-name
*/
public static function findConstantClass($constant) {
@@
-134,6
+140,8
@@
class CRM_Utils_PseudoConstant {
*
* This may be inefficient and should generally be avoided.
*
*
* This may be inefficient and should generally be avoided.
*
+ * @param $class
+ *
* @return array of string, constant names
*/
public static function findConstantsByClass($class) {
* @return array of string, constant names
*/
public static function findConstantsByClass($class) {