class CRM_Core_CodeGen_Main

Class CRM_Core_CodeGen_Main

Properties

$buildVersion
$db_version
string $cms drupal, joomla, wordpress
$CoreDAOCodePath
$sqlCodePath
$phpCodePath
$tplCodePath
string $schemaPath ex: schema/Schema.xml
array $tables Definitions of all tables.
array $database
string|null $digestPath Path in which to store a marker that indicates the last execution of GenCode.
string|null $sourceDigest Digest of the inputs to the code-generator (eg the properties and source files).

Methods

__construct($CoreDAOCodePath, $sqlCodePath, $phpCodePath, $tplCodePath, $IGNORE, $argCms, $argVersion, $schemaPath, $digestPath)

No description

main()

Automatically generate a variety of files.

array
getTasks()

No description

string
getSourceDigest()

Compute a digest based on the GenCode logic (PHP/tpl).

init()

No description

Details

at line 66
__construct($CoreDAOCodePath, $sqlCodePath, $phpCodePath, $tplCodePath, $IGNORE, $argCms, $argVersion, $schemaPath, $digestPath)

Parameters

$CoreDAOCodePath
$sqlCodePath
$phpCodePath
$tplCodePath
$IGNORE
$argCms
$argVersion
$schemaPath
$digestPath

at line 92
main()

Automatically generate a variety of files.

at line 121
array getTasks()

Return Value

array Array.

Exceptions

Exception

at line 140
string getSourceDigest()

Compute a digest based on the GenCode logic (PHP/tpl).

Return Value

string

at line 154
protected init()