Methods
__construct()
__construct()
Inherited
inherited_from |
\XenForo_Importer_Abstract::__construct() |
inherited_from |
\XenForo_Importer_IPBoard::__construct() |
configStep()
configStep(\XenForo_ControllerAdmin_Abstract $controller, \XenForo_ImportSession $session, $step, array $options)
Inherited
inherited_from |
\XenForo_Importer_Abstract::configStep() |
inherited_from |
\XenForo_Importer_IPBoard::configStep() |
Parameters
$controller
$session
$step
$options
configStepAvatars()
configStepAvatars(array $options)
Inherited
inherited_from |
\XenForo_Importer_IPBoard::configStepAvatars() |
Parameters
$options
configStepForumPermissions()
configStepForumPermissions(array $options)
Inherited
inherited_from |
\XenForo_Importer_IPBoard::configStepForumPermissions() |
Parameters
$options
configStepPolls()
configStepPolls(array $options)
Inherited
inherited_from |
\XenForo_Importer_IPBoard::configStepPolls() |
Parameters
$options
configStepUserGroups()
configStepUserGroups(array $options)
Inherited
inherited_from |
\XenForo_Importer_IPBoard::configStepUserGroups() |
Parameters
$options
configStepUsers()
configStepUsers(array $options)
Inherited
inherited_from |
\XenForo_Importer_IPBoard::configStepUsers() |
Parameters
$options
getImportCompleteMessages()
getImportCompleteMessages()
Inherited
inherited_from |
\XenForo_Importer_Abstract::getImportCompleteMessages() |
inherited_from |
\XenForo_Importer_IPBoard::getImportCompleteMessages() |
getKey()
getKey()
Inherited
inherited_from |
\XenForo_Importer_Abstract::getKey() |
inherited_from |
\XenForo_Importer_IPBoard::getKey() |
getStep()
getStep($step)
Inherited
inherited_from |
\XenForo_Importer_Abstract::getStep() |
inherited_from |
\XenForo_Importer_IPBoard::getStep() |
Parameters
$step
(non-PHPdoc)
getSteps()
see |
\global\XenForo_Importer_IPBoard::getSteps() |
runStep()
runStep(\XenForo_ControllerAdmin_Abstract $controller, \XenForo_ImportSession $session, $step, $start, array $options)
Inherited
inherited_from |
\XenForo_Importer_Abstract::runStep() |
inherited_from |
\XenForo_Importer_IPBoard::runStep() |
Parameters
$controller
$session
$step
$start
$options
stepAttachments()
stepAttachments($start, array $options)
Inherited
inherited_from |
\XenForo_Importer_IPBoard::stepAttachments() |
Parameters
$start
$options
stepAvatars()
stepAvatars($start, array $options)
Inherited
inherited_from |
\XenForo_Importer_IPBoard::stepAvatars() |
Parameters
$start
$options
stepForumPermissions()
stepForumPermissions($start, array $options)
Inherited
inherited_from |
\XenForo_Importer_IPBoard::stepForumPermissions() |
Parameters
$start
$options
stepForums()
stepForums($start, array $options)
Inherited
inherited_from |
\XenForo_Importer_IPBoard::stepForums() |
Parameters
$start
$options
stepModerators()
stepModerators($start, array $options)
Inherited
inherited_from |
\XenForo_Importer_IPBoard::stepModerators() |
Parameters
$start
$options
stepPolls()
stepPolls($start, array $options)
Inherited
inherited_from |
\XenForo_Importer_IPBoard::stepPolls() |
Parameters
$start
$options
stepPrivateMessages()
stepPrivateMessages($start, array $options)
Inherited
inherited_from |
\XenForo_Importer_IPBoard::stepPrivateMessages() |
Parameters
$start
$options
stepReputation()
stepReputation($start, array $options)
Inherited
inherited_from |
\XenForo_Importer_IPBoard::stepReputation() |
Parameters
$start
$options
stepStatusUpdates()
stepStatusUpdates($start, array $options)
Inherited
inherited_from |
\XenForo_Importer_IPBoard::stepStatusUpdates() |
Parameters
$start
$options
stepThreads()
stepThreads($start, array $options)
Inherited
inherited_from |
\XenForo_Importer_IPBoard::stepThreads() |
Parameters
$start
$options
stepUserFields()
stepUserFields($start, array $options)
Inherited
inherited_from |
\XenForo_Importer_IPBoard::stepUserFields() |
Parameters
$start
$options
stepUserGroups()
stepUserGroups($start, array $options)
Inherited
inherited_from |
\XenForo_Importer_IPBoard::stepUserGroups() |
Parameters
$start
$options
stepUsers()
stepUsers($start, array $options)
Inherited
inherited_from |
\XenForo_Importer_IPBoard::stepUsers() |
Parameters
$start
$options
stepUsersFailed()
stepUsersFailed($start, array $options)
Inherited
inherited_from |
\XenForo_Importer_IPBoard::stepUsersFailed() |
Parameters
$start
$options
stepUsersMerge()
stepUsersMerge($start, array $options)
Inherited
inherited_from |
\XenForo_Importer_IPBoard::stepUsersMerge() |
Parameters
$start
$options
validateConfiguration()
validateConfiguration(array $config)
Inherited
inherited_from |
\XenForo_Importer_IPBoard::validateConfiguration() |
Parameters
$config
_bootstrap()
_bootstrap(array $config)
Inherited
inherited_from |
\XenForo_Importer_IPBoard::_bootstrap() |
Parameters
$config
_bootstrapImporter()
_bootstrapImporter(array $config)
Inherited
inherited_from |
\XenForo_Importer_Abstract::_bootstrapImporter() |
inherited_from |
\XenForo_Importer_IPBoard::_bootstrapImporter() |
Parameters
$config
Caches the app_cache and module_cache from IPB
_cacheAppsAndModules()
Inherited
inherited_from |
\XenForo_Importer_IPBoard::_cacheAppsAndModules() |
_calculateModeratorPermissions()
_calculateModeratorPermissions(array $mod)
Inherited
inherited_from |
\XenForo_Importer_IPBoard::_calculateModeratorPermissions() |
Parameters
$mod
_calculateUserGroupPermissions()
_calculateUserGroupPermissions(array $userGroup)
Inherited
inherited_from |
\XenForo_Importer_IPBoard::_calculateUserGroupPermissions() |
Parameters
$userGroup
Convert the given text to valid UTF-8
_convertToUtf8(string $string, boolean $entities) : string
Inherited
inherited_from |
\XenForo_Importer_Abstract::_convertToUtf8() |
inherited_from |
\XenForo_Importer_IPBoard::_convertToUtf8() |
Parameters
$string
string
$entities
boolean
Convert < (and other) entities back to < characters
Returns
string
Convert's IPB's a=A|b=B|c=C user field choice format into XF's array format
_convertUserFieldChoices(array $profileField) : array
Inherited
inherited_from |
\XenForo_Importer_IPBoard::_convertUserFieldChoices() |
Parameters
$profileField
array
Returns
array
Converts IPB's aann-naa style of input matching into a regular expression
_convertUserFieldMatchTypeToRegex(string $inputFormat) : string
Inherited
inherited_from |
\XenForo_Importer_IPBoard::_convertUserFieldMatchTypeToRegex() |
Parameters
$inputFormat
string
Returns
string
Gets the application cache
_getAppCache() : array
Inherited
inherited_from |
\XenForo_Importer_IPBoard::_getAppCache() |
Returns
array
Fetches an array representing all the source user groups
_getGroupCache() : array
Inherited
inherited_from |
\XenForo_Importer_IPBoard::_getGroupCache() |
Returns
array
[userGroupId => userGroup, userGroupId => userGroup...]
Fetches an array of all user groups to which the user belongs
_getGroupsForUser(array $user) : array
Inherited
inherited_from |
\XenForo_Importer_IPBoard::_getGroupsForUser() |
Parameters
$user
array
Returns
array
Gets the module cache
_getModuleCache() : array
Inherited
inherited_from |
\XenForo_Importer_IPBoard::_getModuleCache() |
Returns
array
_getNextUserStep()
_getNextUserStep()
Inherited
inherited_from |
\XenForo_Importer_IPBoard::_getNextUserStep() |
Returns the value of a member custom profile field for the specified member
_getProfileField(array $user, string $title, integer $id) : string
Inherited
inherited_from |
\XenForo_Importer_IPBoard::_getProfileField() |
Parameters
$user
array
$title
string
Name of the custom profile field
$id
integer
If specified, fetch the field by its numeric id instead
Returns
string
UTF-8 converted
_getProgressOutput()
_getProgressOutput($lastId, $maxId)
Inherited
inherited_from |
\XenForo_Importer_Abstract::_getProgressOutput() |
inherited_from |
\XenForo_Importer_IPBoard::_getProgressOutput() |
Parameters
$lastId
$maxId
_getSelectUserSql()
_getSelectUserSql($where)
Inherited
inherited_from |
\XenForo_Importer_IPBoard::_getSelectUserSql() |
Parameters
$where
(non-PHPdoc)
_getStatusUpdateUserIdMap(\XenForo_Model_Import $model, array $statusUpdates)
see |
\global\XenForo_Importer_IPBoard::_getStatusUpdateUserIdMap($model, |
Parameters
$model
$statusUpdates
(non-PHPdoc)
_getStatusUpdateUserInfo(array $statusUpdate, array $userIdMap)
see |
\global\XenForo_Importer_IPBoard::_getStatusUpdateUserInfo($statusUpdate, |
Parameters
$statusUpdate
$userIdMap
(non-PHPdoc)
_getStatusUpdates($start, $limit)
see |
\global\XenForo_Importer_IPBoard::_getStatusUpdates($start, |
Parameters
$start
$limit
(non-PHPdoc)
_getUserGroupAvatarPerms(array $userGroup)
see |
\global\XenForo_Importer_IPBoard::_getUserGroupAvatarPerms($userGroup) |
Parameters
$userGroup
Forums must have been imported already for this to function.
_guessForumPermissions()
Inherited
inherited_from |
\XenForo_Importer_IPBoard::_guessForumPermissions() |
Interpret the data stored in IPB's gender field
_handleProfileFieldGender(string $gender) : string
Inherited
inherited_from |
\XenForo_Importer_IPBoard::_handleProfileFieldGender() |
Parameters
$gender
string
Returns
string
Checks that the $permissions array given has the admin permission specified
_hasAdminPermission(array $adminRestrictions, string $appName, string $moduleName, string $permName) : boolean
Inherited
inherited_from |
\XenForo_Importer_IPBoard::_hasAdminPermission() |
Parameters
$adminRestrictions
array
$appName
string
$moduleName
string
$permName
string
Returns
boolean
_importForumTree()
_importForumTree($parentId, array $forumTree, array $forumIdMap)
Inherited
inherited_from |
\XenForo_Importer_IPBoard::_importForumTree() |
Parameters
$parentId
$forumTree
$forumIdMap
_importOrMergeUser()
_importOrMergeUser(array $user, array $options)
Inherited
inherited_from |
\XenForo_Importer_IPBoard::_importOrMergeUser() |
Parameters
$user
$options
_importStatusUpdateLikes()
_importStatusUpdateLikes(array $statusUpdate, $profilePostId, array $profilePost)
Parameters
$statusUpdate
$profilePostId
$profilePost
Imports thread watch records for the given thread
_importThreadWatch(integer $threadId, array $sourceThread)
Parameters
$threadId
integer
Imported XenForo thread ID
$sourceThread
array
IPB source thread data
_importUser()
_importUser(array $user, array $options)
Inherited
inherited_from |
\XenForo_Importer_IPBoard::_importUser() |
Parameters
$user
$options
Explodes IPB's ,x,y,z, format into array(x, y, z)
_ipbExplode(string $commaList) : array
Inherited
inherited_from |
\XenForo_Importer_IPBoard::_ipbExplode() |
Parameters
$commaList
string
Returns
array
Check if the specified user is an administrator, by looking at all of their
user group memberships and checking if any of them have cp access privs.
_isAdmin(array $user, array $adminRestrictions) : boolean
Inherited
inherited_from |
\XenForo_Importer_IPBoard::_isAdmin() |
Parameters
$user
array
$adminRestrictions
array
Returns
boolean
Check if the specified user is a super moderator but checking all
their user group memberships for g_is_supmod
_isSuperModerator(array $user) : boolean
Inherited
inherited_from |
\XenForo_Importer_IPBoard::_isSuperModerator() |
Parameters
$user
array
Returns
boolean
_mapLookUp()
_mapLookUp(array $map, $key, $default, $lowerKey)
Inherited
inherited_from |
\XenForo_Importer_Abstract::_mapLookUp() |
inherited_from |
\XenForo_Importer_IPBoard::_mapLookUp() |
Parameters
$map
$key
$default
$lowerKey
_mapLookUpList()
_mapLookUpList(array $map, array $keys, $lowerKey)
Inherited
inherited_from |
\XenForo_Importer_Abstract::_mapLookUpList() |
inherited_from |
\XenForo_Importer_IPBoard::_mapLookUpList() |
Parameters
$map
$keys
$lowerKey
_mergeUser()
_mergeUser(array $user, $targetUserId)
Inherited
inherited_from |
\XenForo_Importer_IPBoard::_mergeUser() |
Parameters
$user
$targetUserId
Parse out HTML smilies and other stuff we can't use from IP.Board BB code
_parseIPBoardBbCode(string $message, boolean $autoLink) : string
Inherited
inherited_from |
\XenForo_Importer_IPBoard::_parseIPBoardBbCode() |
Parameters
$message
string
$autoLink
boolean
Auto-link URLs in IP.Board messages
Returns
string
Remove HTML line breaks and UTF-8 conversion
_parseIPBoardText(string $message) : string
Inherited
inherited_from |
\XenForo_Importer_IPBoard::_parseIPBoardText() |
Parameters
$message
string
Returns
string
_resolveUserConflicts()
_resolveUserConflicts(array $users, array $resolve)
Inherited
inherited_from |
\XenForo_Importer_IPBoard::_resolveUserConflicts() |
Parameters
$users
$resolve
_rewriteQuotes()
_rewriteQuotes($message, array $quotes, array $postIdMap)
Inherited
inherited_from |
\XenForo_Importer_IPBoard::_rewriteQuotes() |
Parameters
$message
$quotes
$postIdMap
Properties
$_adminPermissions
$_adminPermissions
Inherited
inherited_from |
\XenForo_Importer_IPBoard::$$_adminPermissions |
$_appCache
$_appCache
Inherited
inherited_from |
\XenForo_Importer_IPBoard::$$_appCache |
$_charset
$_charset
Inherited
inherited_from |
\XenForo_Importer_IPBoard::$$_charset |
$_config
$_config
Inherited
inherited_from |
\XenForo_Importer_IPBoard::$$_config |
Calling controller
$_controller : \XenForo_ControllerAdmin_Abstract
Inherited
inherited_from |
\XenForo_Importer_Abstract::$$_controller |
inherited_from |
\XenForo_Importer_IPBoard::$$_controller |
$_db
$_db : \Zend_Db_Adapter_Abstract
Inherited
inherited_from |
\XenForo_Importer_Abstract::$$_db |
inherited_from |
\XenForo_Importer_IPBoard::$$_db |
$_groupCache
$_groupCache
Inherited
inherited_from |
\XenForo_Importer_IPBoard::$$_groupCache |
$_groupMap
$_groupMap
Inherited
inherited_from |
\XenForo_Importer_IPBoard::$$_groupMap |
$_importModel
$_importModel : \XenForo_Model_Import
Inherited
inherited_from |
\XenForo_Importer_Abstract::$$_importModel |
inherited_from |
\XenForo_Importer_IPBoard::$$_importModel |
$_moduleCache
$_moduleCache
Inherited
inherited_from |
\XenForo_Importer_IPBoard::$$_moduleCache |
$_nodePermissionsGrouped
$_nodePermissionsGrouped
Inherited
inherited_from |
\XenForo_Importer_IPBoard::$$_nodePermissionsGrouped |
$_prefix
$_prefix
Inherited
inherited_from |
\XenForo_Importer_IPBoard::$$_prefix |
$_profileFieldMap
$_profileFieldMap
Inherited
inherited_from |
\XenForo_Importer_IPBoard::$$_profileFieldMap |
Import session
$_session : \XenForo_ImportSession
Inherited
inherited_from |
\XenForo_Importer_Abstract::$$_session |
inherited_from |
\XenForo_Importer_IPBoard::$$_session |
Source database connection.
$_sourceDb : \Zend_Db_Adapter_Abstract
Inherited
inherited_from |
\XenForo_Importer_IPBoard::$$_sourceDb |
$_userFieldMap
$_userFieldMap
Inherited
inherited_from |
\XenForo_Importer_IPBoard::$$_userFieldMap |