Property | Type | Description | |
---|---|---|---|
$arrFields | array | Fields | |
$arrInstances | Instances | ||
$arrKeys | array | Keys | |
$arrMeta | array | Meta data | |
$arrOrderFields | array | Order fields | |
$arrRelations | array | Relations | |
$arrSql | array | SQL buffer | |
$arrUniqueFields | array | Unique fields | |
$blnIsDbTable | boolean | Database table | |
$strTable | string | Table name |
Method | Description | |
---|---|---|
__clone ( ) | Prevent cloning of the object (Singleton) | |
getDbInstallerArray ( ) : array | Return an array that can be used by the database installer | |
getFields ( ) : array | Return the fields as array | |
getInstance ( string $strTable ) : |
Get one object instance per table | |
getKeys ( ) : array | Return the keys as array | |
getMeta ( ) : array | Return the meta data as array | |
getOrderFields ( ) : array | Return the order fields as array | |
getRelations ( ) : array | Return the relations as array | |
getUniqueFields ( ) : array | Return an array of unique columns | |
hasFields ( ) : boolean | Return true if there are fields | |
hasKeys ( ) : boolean | Return true if there are keys | |
hasMeta ( ) : boolean | Return true if there is meta data | |
hasOrderFields ( ) : boolean | Return true if there are order fields | |
hasRelations ( ) : boolean | Return true if there are relations | |
hasUniqueFields ( ) : boolean | Return true if there are unique fields | |
isDbTable ( ) : boolean | Return true if the extract relates to a database table |
Method | Description | |
---|---|---|
__construct ( string $strTable ) | Load or create the extract | |
createExtract ( ) | Create the extract from the DCA or the database.sql files |
protected __construct ( string $strTable ) | ||
$strTable | string | The table name |
protected createExtract ( ) |
public getDbInstallerArray ( ) : array | ||
return | array | The data array |
public static getInstance ( string $strTable ) : |
||
$strTable | string | The table name |
return | The object instance |
public getOrderFields ( ) : array | ||
return | array | The order fields array |
public getRelations ( ) : array | ||
return | array | The relations array |
public getUniqueFields ( ) : array | ||
return | array |
public hasOrderFields ( ) : boolean | ||
return | boolean | True if there are order fields |
public hasRelations ( ) : boolean | ||
return | boolean | True if there are relations |
public hasUniqueFields ( ) : boolean | ||
return | boolean | True if there are unique fields |
protected static DcaExtractor[],contao $arrInstances | ||
return |