original_string: protected function getTotal($VisitorsID)
  	{
  		$VisitorsTotalVisitCount = 0;
      	$VisitorsTotalHitCount   = 0;
  	    if ($VisitorsID) 
  	    {
      		//Total seit Zählung
      		$objVisitorsTotalCount = \Database::getInstance()
      		        ->prepare("SELECT 
                                      SUM(visitors_visit) AS SUMV, 
                                      SUM(visitors_hit) AS SUMH
                                  FROM 
                                      tl_visitors_counter
                                  WHERE 
                                      vid=?")
                      ->execute($VisitorsID);
      	    if ($objVisitorsTotalCount->numRows > 0) 
      	    {
      		    $objVisitorsTotalCount->next();
                  $VisitorsTotalVisitCount = ($objVisitorsTotalCount->SUMV === null) ? 0 : $objVisitorsTotalCount->SUMV;
                  $VisitorsTotalHitCount   = ($objVisitorsTotalCount->SUMH === null) ? 0 : $objVisitorsTotalCount->SUMH;
      	    }
  	    }
  	    return array('VisitorsTotalVisitCount' => $this->getFormattedNumber($VisitorsTotalVisitCount,0),
  	                 'VisitorsTotalHitCount'   => $this->getFormattedNumber($VisitorsTotalHitCount,0)
  	                );
  	}
code: protected function getTotal($VisitorsID)
  	{
  		$VisitorsTotalVisitCount = 0;
      	$VisitorsTotalHitCount   = 0;
  	    if ($VisitorsID) 
  	    {
      		//Total seit Zählung
      		$objVisitorsTotalCount = \Database::getInstance()
      		        ->prepare("SELECT 
                                      SUM(visitors_visit) AS SUMV, 
                                      SUM(visitors_hit) AS SUMH
                                  FROM 
                                      tl_visitors_counter
                                  WHERE 
                                      vid=?")
                      ->execute($VisitorsID);
      	    if ($objVisitorsTotalCount->numRows > 0) 
      	    {
      		    $objVisitorsTotalCount->next();
                  $VisitorsTotalVisitCount = ($objVisitorsTotalCount->SUMV === null) ? 0 : $objVisitorsTotalCount->SUMV;
                  $VisitorsTotalHitCount   = ($objVisitorsTotalCount->SUMH === null) ? 0 : $objVisitorsTotalCount->SUMH;
      	    }
  	    }
  	    return array('VisitorsTotalVisitCount' => $this->getFormattedNumber($VisitorsTotalVisitCount,0),
  	                 'VisitorsTotalHitCount'   => $this->getFormattedNumber($VisitorsTotalHitCount,0)
  	                );
  	}
code_tokens: protected function getTotal ( $ VisitorsID ) { $ VisitorsTotalVisitCount = 0 ; $ VisitorsTotalHitCount = 0 ; if ( $ VisitorsID ) { //Total seit Zählung $ objVisitorsTotalCount = \ Database :: getInstance ( ) -> prepare ( "SELECT 
                                      SUM(visitors_visit) AS SUMV, 
                                      SUM(visitors_hit) AS SUMH
                                  FROM 
                                      tl_visitors_counter
                                  WHERE 
                                      vid=?" ) -> execute ( $ VisitorsID ) ; if ( $ objVisitorsTotalCount -> numRows > 0 ) { $ objVisitorsTotalCount -> next ( ) ; $ VisitorsTotalVisitCount = ( $ objVisitorsTotalCount -> SUMV === null ) ? 0 : $ objVisitorsTotalCount -> SUMV ; $ VisitorsTotalHitCount = ( $ objVisitorsTotalCount -> SUMH === null ) ? 0 : $ objVisitorsTotalCount -> SUMH ; } } return array ( 'VisitorsTotalVisitCount' => $ this -> getFormattedNumber ( $ VisitorsTotalVisitCount , 0 ) , 'VisitorsTotalHitCount' => $ this -> getFormattedNumber ( $ VisitorsTotalHitCount , 0 ) ) ; }
docstring: Total Hits und Visits
docstring_tokens: Total Hits und Visits