|
| static | __phpLintWriteFile ($fileName, $content) |
| |
| static | AttrIdToPhp ($dbaccess, $tdoc) |
| |
| static | doubleslash ($s) |
| |
| static | tableExists ($dbaccess, $schemaName, $tableName) |
| |
| static | viewExists ($dbaccess, $schemaName, $viewName) |
| |
| static | createFamilyTable ($dbaccess, $docid) |
| |
| static | recreateFamilyView ($dbaccess, $docname, $docid) |
| |
| static | getTableColumns ($dbaccess, $schemaName, $tableName) |
| |
| static | alterTableAddColumn ($dbaccess, $schemaName, $tableName, $columnName, $columnType) |
| |
| static | resetSystemEnum ($famid) |
| |
| static | completeAttribute ($dbaccess, $ta) |
| |
| static | getParentAttributes ($dbaccess, $fromid) |
| |
| static | getTypeMain ($type) |
| |
| static | getTypeFormat ($type) |
| |
| static | getMethodFileInnerContents ($filename) |
| |
Definition at line 18 of file Class.FamilyImport.php.
| static __phpLintWriteFile |
( |
|
$fileName, |
|
|
|
$content |
|
) |
| |
|
staticprotected |
Write PHP content to destination file if PHP syntax is correct.
- The content is first written to a temporary file next to the final destination file.
- The syntax of the temporary file is checked.
- If the syntax is correct, then the temporary file is "commited" to the destination file.
- Parameters
-
| string | $fileName | destination file |
| string | $content | content to write |
- Returns
- string empty string on success or error message on failure
Definition at line 34 of file Class.FamilyImport.php.
| static activateTrigger |
( |
|
$dbaccess, |
|
|
|
$docid |
|
) |
| |
|
static |
| static alterTableAddColumn |
( |
|
$dbaccess, |
|
|
|
$schemaName, |
|
|
|
$tableName, |
|
|
|
$columnName, |
|
|
|
$columnType |
|
) |
| |
|
staticprotected |
| static AttrIdToPhp |
( |
|
$dbaccess, |
|
|
|
$tdoc |
|
) |
| |
|
staticprotected |
| static buildFamilyFilesAndTables |
( |
|
$dbaccess, |
|
|
|
$familyData, |
|
|
|
$interactive = false |
|
) |
| |
|
static |
| static completeAttribute |
( |
|
$dbaccess, |
|
|
|
$ta |
|
) |
| |
|
staticprotected |
complete attribute properties from parent attribute
- Parameters
-
| string | $dbaccess | |
| \DocAttr | $ta | |
- Returns
- mixed
- Exceptions
-
Definition at line 917 of file Class.FamilyImport.php.
| static createDocFile |
( |
|
$dbaccess, |
|
|
|
$tdoc |
|
) |
| |
|
static |
| static createFamilyTable |
( |
|
$dbaccess, |
|
|
|
$docid |
|
) |
| |
|
staticprotected |
| static getMethodFileInnerContents |
( |
|
$filename | ) |
|
|
staticprotected |
Get the content of a METHOD file without the PHP opening/closing tags and without the -method-ignore/-method-ignore sections.
- Parameters
-
- Returns
- string
Definition at line 1052 of file Class.FamilyImport.php.
| static getParentAttributes |
( |
|
$dbaccess, |
|
|
|
$fromid |
|
) |
| |
|
staticprotected |
get parent attributes
- Parameters
-
| string | $dbaccess | |
| string | $fromid | |
- Returns
- array
- Exceptions
-
Definition at line 972 of file Class.FamilyImport.php.
| static getTableColumns |
( |
|
$dbaccess, |
|
|
|
$schemaName, |
|
|
|
$tableName |
|
) |
| |
|
staticprotected |
| static getTypeFormat |
( |
|
$type | ) |
|
|
staticprotected |
| static getTypeMain |
( |
|
$type | ) |
|
|
staticprotected |
| static parseType |
( |
|
$type | ) |
|
|
static |
Extract the main type and the format from a type string
- Parameters
-
| string | $type | e.g. 'array("empty")' |
- Returns
- array() struct e.g. array('type' => 'array', 'format' => '"empty"')
Definition at line 1014 of file Class.FamilyImport.php.
| static recreateFamilyView |
( |
|
$dbaccess, |
|
|
|
$docname, |
|
|
|
$docid |
|
) |
| |
|
staticprotected |
| static refreshPhpPgDoc |
( |
|
$dbaccess, |
|
|
|
$docid |
|
) |
| |
|
static |
refresh PHP Class & Postgres Table Definition
- Parameters
-
| string | $dbaccess | |
| int | $docid | |
- Returns
- string error message
Definition at line 832 of file Class.FamilyImport.php.
| static resetSystemEnum |
( |
|
$famid | ) |
|
|
staticprotected |
| static setSqlIndex |
( |
|
$dbaccess, |
|
|
|
$docid |
|
) |
| |
|
static |
| static tableExists |
( |
|
$dbaccess, |
|
|
|
$schemaName, |
|
|
|
$tableName |
|
) |
| |
|
staticprotected |
| static viewExists |
( |
|
$dbaccess, |
|
|
|
$schemaName, |
|
|
|
$viewName |
|
) |
| |
|
staticprotected |
The documentation for this class was generated from the following file: