eZ Publish  [trunk]
addtonotification.php File Reference

Go to the source code of this file.

Variables

 $alreadyExists = true
if(!$user->isLoggedIn()) $contentNode = eZContentObjectTreeNode::fetch( $nodeID )
 $http = eZHTTPTool::instance()
 $module = $Params['Module']
 $nodeID = $Params['ContentNodeID']
 $nodeIDList = eZSubtreeNotificationRule::fetchNodesForUserID( $user->attribute( 'contentobject_id' ), false )
 $redirectURI = $http->postVariable( 'RedirectURI', $http->sessionVariable( 'LastAccessesURI', '/' ) )
 $Result = array()
 $Result ['content'] = $tpl->fetch( 'design:notification/addingresult.tpl' )
 $Result ['path']
if(!$contentNode) if(!$contentNode->
attribute( 'can_read')) 
$tpl = eZTemplate::factory()
 $user = eZUser::currentUser()
 $viewMode = $http->hasPostVariable( 'ViewMode' ) ? $http->postVariable( 'ViewMode' ) : 'full'

Variable Documentation

$alreadyExists = true

Definition at line 53 of file addtonotification.php.

Definition at line 10 of file addtonotification.php.

$module = $Params['Module']

Definition at line 9 of file addtonotification.php.

$nodeID = $Params['ContentNodeID']

Definition at line 16 of file addtonotification.php.

$redirectURI = $http->postVariable( 'RedirectURI', $http->sessionVariable( 'LastAccessesURI', '/' ) )

Definition at line 19 of file addtonotification.php.

Referenced by showNotificationAfterCopying().

$Result = array()

Definition at line 66 of file addtonotification.php.

$Result['content'] = $tpl->fetch( 'design:notification/addingresult.tpl' )

Definition at line 67 of file addtonotification.php.

$Result['path']
Initial value:
 array( array( 'text' => ezpI18n::tr( 'kernel/notification', ($alreadyExists ? 'Notification already exists.' : 'Notification was added successfully!') ),
                                'url' => false ) )

Definition at line 68 of file addtonotification.php.

if (!$contentNode) if (!$contentNode->attribute( 'can_read')) $tpl = eZTemplate::factory()

Definition at line 47 of file addtonotification.php.

Definition at line 17 of file addtonotification.php.

$viewMode = $http->hasPostVariable( 'ViewMode' ) ? $http->postVariable( 'ViewMode' ) : 'full'

Definition at line 21 of file addtonotification.php.