Helper for user profile related pages.
Provides validation methods, amongst other things.
| package | XenForo_Thread |
|---|
__construct(\XenForo_Controller $controller)
Sets up controller.
| inherited_from | \XenForo_ControllerHelper_Abstract::__construct() |
|---|
\XenForo_Controller
assertProfilePostCommentValidAndViewable($commentId, array $commentFetchOptions, array $profilePostFetchOptions, array $userFetchOptions)
assertProfilePostValidAndViewable($profilePostId, array $profilePostFetchOptions, array $userFetchOptions)
assertUserProfileValidAndViewable($userId, array $fetchOptions)
getProfilePostCommentOrError(integer $commentId, array $fetchOptions) : array
integer
arrayOptions that control the data fetched with the record
arraygetProfilePostOrError(integer $profilePostId, array $fetchOptions) : array
integer
arrayOptions that control the data fetched with the record
arraygetUserOrError(integer $userId, array $fetchOptions) : array
integer
arrayOptions that control the data fetched with the record
array_constructSetup()
$_controller : \XenForo_Controller
| inherited_from | \XenForo_ControllerHelper_Abstract::$$_controller |
|---|
$_visitor : \XenForo_Visitor