UNA
Loading...
Searching...
No Matches
BxDolMProfilesFields Class Reference
Inheritance diagram for BxDolMProfilesFields:
BxDolMData

Public Member Functions

 __construct ($oMigrationModule, &$mDb)
 
 getTotalRecords ()
 
 runMigration ()
 
 getFieldValues ($sField, $bGetKeyIfExists=true)
 
 removeContent ()
 
- Public Member Functions inherited from BxDolMData
 __construct (&$oMainModule, &$oDb)
 
 dropMID ($sIdentFieldName='', $sTableName='')
 
 getFieldType ($sFieldName)
 

Additional Inherited Members

- Protected Member Functions inherited from BxDolMData
 setResultStatus ($sStatus)
 
 getContentId ($iId)
 
 getProfileId ($iId)
 
 isModuleContentTransferred ($sModule)
 
 getAssocFields ()
 
 isKeyPreKeyExits ($sName)
 
 transferCategory ($sName, $sPrefix, $sCategory, $iValue=0, $sData='')
 
 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)
 
- Protected Attributes inherited from BxDolMData
 $_oMainModule
 
 $_mDb
 
 $_sPrefix
 
 $_oDb
 
 $_sModuleName = ''
 
 $_sTableWithTransKey
 
 $_iTransferred = 0
 
 $_oLanguage = null
 
 $_aLanguages = array()
 
 $_sImagePhotoFiles = ''
 
 $_sTransferFieldIdent = 'mig_id'
 
 $_aSysProfiles = array()
 

Member Function Documentation

◆ getFieldValues()

BxDolMProfilesFields::getFieldValues ( $sField,
$bGetKeyIfExists = true )

Builds list for fields lists with translations

Parameters
int$sFieldfields list's name
boolean$bGetKeyIfExistsdont add values if list exists.
Returns
mixed array with fields list or pre values key list name

◆ getTotalRecords()

BxDolMProfilesFields::getTotalRecords ( )

Gets total records for transferring

Returns
boolean

Reimplemented from BxDolMData.

◆ removeContent()

BxDolMProfilesFields::removeContent ( )

Removes all transferred content from UNA

Returns
void

Reimplemented from BxDolMData.

◆ runMigration()

BxDolMProfilesFields::runMigration ( )

Main migration function, executes required operations for transfer

Returns
boolean

Reimplemented from BxDolMData.


The documentation for this class was generated from the following file: