The defined variables are:
include_once( 'kernel/classes/notification/handler/ezsubtree/ezsubtreenotificationrule.php' )
$nodeIDList =& eZSubtreeNotificationRule::fetchNodesForUserID( $userID, false );
if ( !in_array( $nodeID, $nodeIDList ) )
{
$rule =& eZSubtreeNotificationRule::create( $nodeID, $userID );
$rule->store();
} Article provided by eZpedia
All text is available under the terms of the GNU Free Documentation License
Powered by eZ Publish 6.0.2stable
Hosted by USA eZ Publish Community Partner : Brookins Consulting