eZ Publish  [trunk]
password.php File Reference

Go to the source code of this file.

Variables

 $currentUser = eZUser::currentUser()
 $currentUserID = $currentUser->attribute( "contentobject_id" )
 $http = eZHTTPTool::instance()
 $ini = eZINI::instance()
 $message = 0
 $Module = $Params['Module']
 $newPasswordNotMatch = 0
 $newPasswordTooShort = 0
 $oldPasswordNotValid = 0
 $redirectionURI = $userRedirectURI
 $Result = array()
 $Result ['path']
 $Result ['content'] = $tpl->fetch( "design:user/password.tpl" )
 $tpl = eZTemplate::factory()
 $user = eZUser::fetch( $UserID )
else $UserID = $currentUserID
 $userRedirectURI = ''
 if (!$user) return $Module->handleError(eZError

Variable Documentation

$currentUser = eZUser::currentUser()

Definition at line 10 of file password.php.

$currentUserID = $currentUser->attribute( "contentobject_id" )

Definition at line 12 of file password.php.

$ini = eZINI::instance()

Definition at line 9 of file password.php.

$message = 0

Definition at line 14 of file password.php.

Referenced by ezpContentNotFoundException\__construct(), ezpContentAccessDeniedException\__construct(), ezpOauthRequiredException\__construct(), ezpOauthBadRequestException\__construct(), ezpOauthTokenNotFoundException\__construct(), ezpRestException\__construct(), ezpContentException\__construct(), ezpOauthExpiredTokenException\__construct(), ezpOauthInsufficientScopeException\__construct(), ezpOauthException\__construct(), ezpOauthNoAuthInfoException\__construct(), ezpOauthInvalidTokenException\__construct(), ezpOauthInvalidRequestException\__construct(), eZDFSFileHandlerTableNotFoundException\__construct(), eZCollaborationItemMessageLink\addMessage(), Cpdf\addMessage(), eZAutoloadGenerator\emit(), error(), eZClusterFileFailure\eZClusterFileFailure(), handleContextNode(), eZApproveCollaborationHandler\handleCustomAction(), eZXMLInputParser\handleError(), handleMessageNode(), eZTSTranslator\handleMessageNode(), ezpClusterGateway\interrupt(), eZAutoloadGenerator\log(), eZAutoloadGenerator\logIssue(), eZAutoloadGenerator\logWarning(), ezpAutoloadCliOutput\outputCli(), ezpUrlObjectLinkUpdate\outputString(), eZFS2FileHandler\processCache(), eZDBFileHandler\processCache(), eZFSFileHandler\processCache(), eZDFSFileHandler\processCache(), eZTSTranslator\remove(), eZSendmailTransport\sendMail(), eZScript\setDebugMessage(), showError(), showMessage(), showMessage2(), showNotice(), showWarning(), updateAutoload(), ezpAsynchronousPublisherLogOutput\write(), ezpAsynchronousPublisherCliOutput\write(), and eZAudit\writeAudit().

$Module = $Params['Module']

Definition at line 13 of file password.php.

$newPasswordNotMatch = 0

Definition at line 16 of file password.php.

$newPasswordTooShort = 0

Definition at line 17 of file password.php.

$oldPasswordNotValid = 0

Definition at line 15 of file password.php.

$Result = array()

Definition at line 141 of file password.php.

$Result['path']
Initial value:
 array( array( 'text' => ezpI18n::tr( 'kernel/user', 'User' ),
                                'url' => false ),
                         array( 'text' => ezpI18n::tr( 'kernel/user', 'Change password' ),
                                'url' => false ) )

Definition at line 142 of file password.php.

$Result['content'] = $tpl->fetch( "design:user/password.tpl" )

Definition at line 146 of file password.php.

Definition at line 128 of file password.php.

$user = eZUser::fetch( $UserID )

Definition at line 42 of file password.php.

else $UserID = $currentUserID

Definition at line 40 of file password.php.

$userRedirectURI = ''

Definition at line 18 of file password.php.

if($currentUser->attribute( 'contentobject_id')!=$user->attribute( 'contentobject_id') or!$currentUser->isLoggedIn()) return $Module->handleError(eZError

Definition at line 43 of file password.php.