|
eZ Publish
[trunk]
|
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' | |
| $alreadyExists = true |
Definition at line 53 of file addtonotification.php.
| if (!$user->isLoggedIn()) $contentNode = eZContentObjectTreeNode::fetch( $nodeID ) |
Definition at line 31 of file addtonotification.php.
Referenced by eZContentFunctionCollection\fetchContentNode(), eZContentFunctionCollection\fetchMostViewedTopList(), eZContentFunctionCollection\fetchTipafriendTopList(), eZContentObjectPackageHandler\generateObjectArray(), eZContentObjectPackageHandler\generateOverrideSettingsArray(), eZContentObjectPackageCreator\generatePackageInformation(), eZSubTreeHandler\handlePublishEvent(), eZContentObjectPackageInstaller\initializeTopNodes(), eZContentObjectPackageHandler\installOverrides(), and eZContentObjectVersion\serialize().
| $http = eZHTTPTool::instance() |
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.
| $nodeIDList = eZSubtreeNotificationRule::fetchNodesForUserID( $user->attribute( 'contentobject_id' ), false ) |
Definition at line 55 of file addtonotification.php.
Referenced by eZContentObjectPackageHandler\add(), eZContentCacheManager\appendChildrenNodeIDs(), eZContentCacheManager\appendKeywordNodeIDs(), eZContentCacheManager\appendNodeIDs(), eZContentCacheManager\appendParentNodeIDs(), eZContentCacheManager\appendRelatingNodeIDs(), eZContentCacheManager\appendSiblingsNodeIDs(), eZSubtreeCache\cleanupByNodeIDs(), eZContentObjectTreeNode\createPathConditionAndNotEqParentSQLStrings(), eZSubtreeNotificationRule\fetchNodesForUserID(), eZSubtreeNotificationRule\fetchUserList(), eZSubTreeHandler\handlePublishEvent(), eZContentObjectTreeNodeOperations\move(), eZSubtreeSubscriptionType\onPublish(), and eZContentOperationCollection\removeAssignment().
| $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'] |
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.
| $user = eZUser::currentUser() |
Definition at line 17 of file addtonotification.php.
| $viewMode = $http->hasPostVariable( 'ViewMode' ) ? $http->postVariable( 'ViewMode' ) : 'full' |
Definition at line 21 of file addtonotification.php.