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 #4713 from colemanw/CRM-15710
[civicrm-core.git]
/
CRM
/
Contact
/
DAO
/
Factory.php
diff --git
a/CRM/Contact/DAO/Factory.php
b/CRM/Contact/DAO/Factory.php
index 419885a19dd893dcec6880cfdac1ad0d41e84bec..27d264fb2edab6e81b83762b02a7c0618e9ca93c 100644
(file)
--- a/
CRM/Contact/DAO/Factory.php
+++ b/
CRM/Contact/DAO/Factory.php
@@
-1,5
+1,8
@@
<?php
<?php
+/**
+ * Class CRM_Contact_DAO_Factory
+ */
class CRM_Contact_DAO_Factory {
static $_classes = array(
class CRM_Contact_DAO_Factory {
static $_classes = array(
@@
-23,6
+26,11
@@
class CRM_Contact_DAO_Factory {
static $_suffix = '.php';
static $_suffix = '.php';
+ /**
+ * @param $className
+ *
+ * @return mixed
+ */
static function &create($className) {
$type = CRM_Utils_Array::value($className, self::$_classes);
if (!$type) {
static function &create($className) {
$type = CRM_Utils_Array::value($className, self::$_classes);
if (!$type) {