original_string: protected function formatString($source, array $args, array $data = array())
      {
          if (!isset($data[0]) || $data[0] === '') {
              return gplcart_string_format($source, $args);
          }
  
          return gplcart_string_format($data[0], $args);
      }
code: protected function formatString($source, array $args, array $data = array())
      {
          if (!isset($data[0]) || $data[0] === '') {
              return gplcart_string_format($source, $args);
          }
  
          return gplcart_string_format($data[0], $args);
      }
code_tokens: protected function formatString ( $ source , array $ args , array $ data = array ( ) ) { if ( ! isset ( $ data [ 0 ] ) || $ data [ 0 ] === '' ) { return gplcart_string_format ( $ source , $ args ) ; } return gplcart_string_format ( $ data [ 0 ] , $ args ) ; }
docstring: Returns a translated and formated string
  @param string $source
  @param array $args
  @param array $data
  @return string
docstring_tokens: Returns a translated and formated string