메소드 |
설명 |
|
__construct ( $ImportPath = '' ) |
Set the import path. |
|
addActivity ( ) : boolean |
|
|
assignOtherIDs ( ) : boolean |
|
|
assignUserIDs ( ) : boolean |
|
|
authenticateAdminUser ( ) : boolean |
|
|
customFinalization ( ) : boolean |
|
|
data ( $Key, null $Value = null ) : mixed |
|
|
defineIndexes ( ) : boolean |
|
|
defineTables ( ) : boolean |
|
|
deleteFiles ( ) |
|
|
deleteOverwriteTables ( ) |
Remove the data from the appropriate tables when we are overwriting the forum. |
|
deleteState ( ) |
|
|
fGetCSV2 ( $fp, string $Delim = ',', string $Quote = '"', string $Escape = "\" ) : array |
|
|
fromPost ( $Post ) |
|
|
generateSQL ( null $Value = null ) : mixed |
|
|
getCountSQL ( string $Aggregate, string $ParentTable, string $ChildTable, string $ParentColumnName = '', string $ChildColumnName = '', string $ParentJoinColumn = '', string $ChildJoinColumn = '' ) : Gdn_DataSet |
Return SQL for updating a count. |
|
getCustomImportModel ( ) |
Get a custom import model based on the import's source. |
|
getImportHeader ( null $fpin = null ) : array | mixed | string |
|
|
getPasswordHashMethod ( ) : mixed | string |
|
|
importExists ( string $Table, string $Column = '' ) : boolean |
Checks to see of a table and/or column exists in the import data. |
|
initialize ( ) : boolean |
|
|
insertPermissionTable ( ) : boolean |
|
|
insertTables ( ) : boolean |
|
|
insertUserTable ( ) : boolean |
|
|
isDbSource ( ) : boolean | string |
|
|
loadState ( ) |
|
|
loadTable ( $Tablename, $Path ) : boolean |
|
|
loadTableInsert ( string $Tablename, string $Path, boolean $skipHeader = true, integer $chunk = 100 ) : boolean |
Import a table from a CSV using SQL insert statements. |
|
loadTableType ( boolean $Save = true ) : boolean | mixed | string |
|
|
loadTables ( ) : boolean |
|
|
loadUserTable ( ) : boolean |
|
|
localInfileSupported ( ) : boolean |
|
|
overwrite ( string $Overwrite = '', string $Email = '', string $Password = '' ) : mixed |
|
|
parseInfoLine ( $Line ) : array |
|
|
processImportDb ( ) |
Process the import tables from the database. |
|
processImportFile ( ) : boolean |
|
|
query ( string $Sql, array $Parameters = null ) : Gdn_DataSet |
Run a query, replacing database prefixes. |
|
runStep ( integer $Step = 1 ) : mixed |
Run the step in the import. |
|
saveSQL ( $CurrentStep ) |
|
|
saveState ( ) |
|
|
setCategoryPermissionIDs ( ) |
Set the category permissions based on the permission table. |
|
setRoleDefaults ( ) |
|
|
stat ( $Key, null $Value = null, string $Op = 'set' ) : mixed |
|
|
steps ( ) : array |
|
|
tables ( string $TableName = '' ) : mixed |
|
|
toPost ( &$Post ) |
|
|
updateCounts ( ) : boolean |
|
|
verifyImport ( ) |
Verify imported data. |
|