CRM_Core_DAO_AllCoreTables
class CRM_Core_DAO_AllCoreTables
Methods
Initialise.
(Quasi-Private) Do not call externally (except for unit-testing)
No description
No description
No description
Modify indices to account for localization options.
No description
No description
Determine whether $tableName is a core table.
Get the DAO for the class.
Get a list of all DAO classes.
Get the classname for the table.
Given a brief-name, determine the full class-name.
Given a full class-name, determine the brief-name.
No description
Reinitialise cache.
(Quasi-Private) Do not call externally. For use by DAOs.
(Quasi-Private) Do not call externally. For use by DAOs.
(Quasi-Private) Do not call externally. For use by DAOs.
Details
at line 45
static
init(bool $fresh = FALSE)
Initialise.
at line 81
static
registerEntityType(string $daoName, string $className, string $tableName, string $fields_callback = NULL, string $links_callback = NULL)
(Quasi-Private) Do not call externally (except for unit-testing)
at line 97
static array
get()
at line 106
static array
tables()
at line 115
static array
indices($localize = TRUE)
at line 135
static array
multilingualize(string $class, array $originalIndices)
Modify indices to account for localization options.
at line 180
static array
daoToClass()
at line 190
static array
getCoreTables()
at line 200
static bool
isCoreTable(string $tableName)
Determine whether $tableName is a core table.
at line 211
static string
getCanonicalClassName(string $className)
Get the DAO for the class.
at line 221
static array
getClasses()
Get a list of all DAO classes.
at line 231
static string
getClassForTable(string $tableName)
Get the classname for the table.
at line 248
static string|NULL
getFullName(string $daoName)
Given a brief-name, determine the full class-name.
at line 260
static string|NULL
getBriefName(string $className)
Given a full class-name, determine the brief-name.
at line 268
static string|FALSE
getTableForClass(string $className)
at line 278
static
reinitializeCache(bool $fresh = FALSE)
Reinitialise cache.
at line 293
static array
getExports(string $dao, string $labelName, bool $prefix, array $foreignDAOs)
(Quasi-Private) Do not call externally. For use by DAOs.
at line 333
static array
getImports(string $dao, string $labelName, bool $prefix, array $foreignDAOs)
(Quasi-Private) Do not call externally. For use by DAOs.
at line 371
static
invoke(string $className, string $event, mixed $values)
(Quasi-Private) Do not call externally. For use by DAOs.
Apply any third-party alterations to the fields()
.