original_string: public function sendNotificationInOne( $subscriber, $contentObject, $commentList = null, $tpl = null )
      {
           if ( is_null( $tpl ) )
           {
               $tpl = eZTemplate::factory();
           }
           $tpl->setVariable( 'subscriber', $subscriber );
           $tpl->setVariable( 'contentobject', $contentObject );
           if ( !is_null( $commentList ) )
           {
              $tpl->setVariable( 'comment_list', $commentList );
           }
           $subject = $tpl->fetch( $this->multiSubjectTemplatePath );
           $body = $tpl->fetch( $this->multiBodyTemplatePath );
           $this->executeSending( $subject, $body, $subscriber );
      }
code: public function sendNotificationInOne( $subscriber, $contentObject, $commentList = null, $tpl = null )
      {
           if ( is_null( $tpl ) )
           {
               $tpl = eZTemplate::factory();
           }
           $tpl->setVariable( 'subscriber', $subscriber );
           $tpl->setVariable( 'contentobject', $contentObject );
           if ( !is_null( $commentList ) )
           {
              $tpl->setVariable( 'comment_list', $commentList );
           }
           $subject = $tpl->fetch( $this->multiSubjectTemplatePath );
           $body = $tpl->fetch( $this->multiBodyTemplatePath );
           $this->executeSending( $subject, $body, $subscriber );
      }
code_tokens: public function sendNotificationInOne ( $ subscriber , $ contentObject , $ commentList = null , $ tpl = null ) { if ( is_null ( $ tpl ) ) { $ tpl = eZTemplate :: factory ( ) ; } $ tpl -> setVariable ( 'subscriber' , $ subscriber ) ; $ tpl -> setVariable ( 'contentobject' , $ contentObject ) ; if ( ! is_null ( $ commentList ) ) { $ tpl -> setVariable ( 'comment_list' , $ commentList ) ; } $ subject = $ tpl -> fetch ( $ this -> multiSubjectTemplatePath ) ; $ body = $ tpl -> fetch ( $ this -> multiBodyTemplatePath ) ; $ this -> executeSending ( $ subject , $ body , $ subscriber ) ; }
docstring: send notification with all comment in one notification
  Exception if error happens
  @param $subscriber
  @param $contentObject
  @param $commentList comment list to the subscriber, which can be null.
  @param $tpl
  @return void
docstring_tokens: send notification with all comment in one notification Exception if error happens