UNA
BxDolMFiles Class Reference
Inheritance diagram for BxDolMFiles:
BxDolMData

Public Member Functions

 __construct (&$oMigrationModule, &$oDb)
 getTotalRecords ()
 runMigration ()
 removeContent ()
Public Member Functions inherited from BxDolMData
 dropMID ($sIdentFieldName='', $sTableName='')
 getFieldType ($sFieldName)

Protected Member Functions

 transferCategory ($sCategory, $sPrefix='bx_files', $sPreValueCateg='bx_files_cats', $iValue=0, $sData='')
Protected Member Functions inherited from BxDolMData
 setResultStatus ($sStatus)
 getContentId ($iId)
 getProfileId ($iId)
 isModuleContentTransferred ($sModule)
 getAssocFields ()
 isKeyPreKeyExits ($sName)
 transferPreValues ($sName, $sTitle, $mixedValues, $bAdd=false)
 getPreValuesBy ($sName, $sField='Order', $sValue='LKey', $iStart=0)
 getDefaultLang ($bName=true)
 getLKeyTranslations ($LKey)
 transferTags ($iObjectId, $iNewObjectId, $sType, $sTableKeywords)
 transferComments ($iObject, $iEntryId, $sType='photos')
 createMIDField ($sIdentFieldName='', $sTableName='')
 getLastMIDField ($sIdentFieldName='', $sTableName='')
 isItemExisted ($iItemId, $sField='id', $sIdentFieldName='', $sTableName='')
 setMID ($iId, $iItemId, $sField='id', $sIdentFieldName='')
 getDefaultPrivacy ($iDolProfileId, $sModule, $sAction)
 getValidPrivacy ($iPrivacy)
 getPrivacy ($iDolProfileId, $iPrivacy, $sModule='', $sAction='', $iDefaultPrivacy=0)

Additional Inherited Members

Protected Attributes inherited from BxDolMData
 $_oMainModule
 $_mDb
 $_sPrefix
 $_oDb
 $_sModuleName = ''
 $_sTableWithTransKey
 $_iTransferred = 0
 $_oLanguage = null
 $_aLanguages = array()
 $_sImagePhotoFiles = ''
 $_sTransferFieldIdent = 'mig_id'
 $_aSysProfiles = array()

Constructor & Destructor Documentation

◆ __construct()

BxDolMFiles::__construct ( & $oMainModule,
& $oDb )

Base class constructor

Parameters
ref$oMainModulemain module
ref$oDbconnect with Dolphin database
Returns
void

Reimplemented from BxDolMData.

Member Function Documentation

◆ getTotalRecords()

BxDolMFiles::getTotalRecords ( )

Gets total records for transferring

Returns
boolean

Reimplemented from BxDolMData.

◆ removeContent()

BxDolMFiles::removeContent ( )

Removes all transferred content from UNA

Returns
void

Reimplemented from BxDolMData.

◆ runMigration()

BxDolMFiles::runMigration ( )

Main migration function, executes required operations for transfer

Returns
boolean

Reimplemented from BxDolMData.

◆ transferCategory()

BxDolMFiles::transferCategory ( $sName,
$sPrefix = 'bx_files',
$sCategory = 'bx_files_cats',
$iValue = 0,
$sData = '' )
protected

Adds category to existed list

Parameters
string$sNamecategory title
string$sPrefixprefix for the module which should be used for new category (depends on module)
int$sCategorymodule's category's pre values Name
Returns
string value of the added category

Reimplemented from BxDolMData.


The documentation for this class was generated from the following file:
  • modules/boonex/dolphin_migration/classes/BxDolMFiles.php