public function sendNotificationInMany( $subscriber, $contentObject, $comment, $tpl = null )
    {
         if ( is_null( $tpl ) )
         {
             $tpl = eZTemplate::factory();
         }
         $tpl->setVariable( 'subscriber', $subscriber );
         $tpl->setVariable( 'contentobject', $contentObject );
         $tpl->setVariable( 'comment', $comment );
         $subject = $tpl->fetch( $this->subjectTemplatePath );

         $body = $tpl->fetch( $this->bodyTemplatePath );
         $this->executeSending( $subject, $body, $subscriber );
    }
public function sendNotificationInMany( $subscriber, $contentObject, $comment, $tpl = null )
    {
         if ( is_null( $tpl ) )
         {
             $tpl = eZTemplate::factory();
         }
         $tpl->setVariable( 'subscriber', $subscriber );
         $tpl->setVariable( 'contentobject', $contentObject );
         $tpl->setVariable( 'comment', $comment );
         $subject = $tpl->fetch( $this->subjectTemplatePath );

         $body = $tpl->fetch( $this->bodyTemplatePath );
         $this->executeSending( $subject, $body, $subscriber );
    }
public function sendNotificationInMany ( $ subscriber , $ contentObject , $ comment , $ tpl = null ) { if ( is_null ( $ tpl ) ) { $ tpl = eZTemplate :: factory ( ) ; } $ tpl -> setVariable ( 'subscriber' , $ subscriber ) ; $ tpl -> setVariable ( 'contentobject' , $ contentObject ) ; $ tpl -> setVariable ( 'comment' , $ comment ) ; $ subject = $ tpl -> fetch ( $ this -> subjectTemplatePath ) ; $ body = $ tpl -> fetch ( $ this -> bodyTemplatePath ) ; $ this -> executeSending ( $ subject , $ body , $ subscriber ) ; }
send one notification with one comment by one comment
Exception if error happens
@param $subscriber
@param $contentObject
@param $comment
@param $tpl
@return void
send one notification with one comment by one comment Exception if error happens