X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=xml%2Ftemplates%2FlistAll.tpl;h=f025a39cec4025f3b19713df8149d6cae5ce2ba3;hb=218194ab2ba12f648b77760c6dcc608043e89fa7;hp=f302ac11638f43c981f571196d9f16a28c73c51f;hpb=6628866da4eb17b8ff190928d8afdbee11526ae6;p=civicrm-core.git diff --git a/xml/templates/listAll.tpl b/xml/templates/listAll.tpl index f302ac1163..f025a39cec 100644 --- a/xml/templates/listAll.tpl +++ b/xml/templates/listAll.tpl @@ -2,7 +2,7 @@ /* +--------------------------------------------------------------------+ - | CiviCRM version 4.5 | + | CiviCRM version 4.6 | +--------------------------------------------------------------------+ | Copyright CiviCRM LLC (c) 2004-2014 | +--------------------------------------------------------------------+ @@ -39,7 +39,7 @@ class CRM_Core_DAO_AllCoreTables {ldelim} 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; @@ -64,7 +64,10 @@ class CRM_Core_DAO_AllCoreTables {ldelim} $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}