|
| transferCategory ($sCategory, $sPrefix='bx_files', $sPreValueCateg='bx_files_cats', $iValue=0, $sData='') |
| 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) |
|
| $_oMainModule |
| $_mDb |
| $_sPrefix |
| $_oDb |
| $_sModuleName = '' |
| $_sTableWithTransKey |
| $_iTransferred = 0 |
| $_oLanguage = null |
| $_aLanguages = array() |
| $_sImagePhotoFiles = '' |
| $_sTransferFieldIdent = 'mig_id' |
| $_aSysProfiles = array() |
◆ __construct()
BxDolMFiles::__construct |
( |
& | $oMainModule, |
|
|
& | $oDb ) |
Base class constructor
- Parameters
-
ref | $oMainModule | main module |
ref | $oDb | connect with Dolphin database |
- Returns
- void
Reimplemented from BxDolMData.
◆ 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 | $sName | category title |
string | $sPrefix | prefix for the module which should be used for new category (depends on module) |
int | $sCategory | module'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