/*
+--------------------------------------------------------------------+
- | CiviCRM version 4.5 |
+ | CiviCRM version 4.6 |
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2014 |
+--------------------------------------------------------------------+
static private $tables = null;
static private $daoToClass = null;
- static private function init($fresh = FALSE) {ldelim}
+ static public function init($fresh = FALSE) {ldelim}
static $init = FALSE;
if ($init && !$fresh) return;
$init = TRUE;
{rdelim}
- static private function registerEntityType($daoName, $className, $tableName) {ldelim}
+ /**
+ * (Quasi-Private) Do not call externally (except for unit-testing)
+ */
+ static public function registerEntityType($daoName, $className, $tableName) {ldelim}
self::$daoToClass[$daoName] = $className;
self::$tables[$tableName] = $className;
{rdelim}