original_string: protected function getSignature(array $options)
      {
          $signature = "\r\n\r\n-------------------------------------\r\n@owner\r\n@address\r\n@phone\r\n@fax\r\n@store_email\r\n@map"; // @text
  
          $replacements = array();
          $replacements['@owner'] = empty($options['owner']) ? '' : $options['owner'];
          $replacements['@address'] = empty($options['address']) ? '' : $options['address'];
          $replacements['@phone'] = empty($options['phone']) ? '' : $this->translation->text('Tel: @phone', array('@phone' => implode(',', $options['phone'])));
          $replacements['@fax'] = empty($options['fax']) ? '' : $this->translation->text('Fax: @fax', array('@fax' => implode(',', $options['fax'])));
          $replacements['@store_email'] = empty($options['email']) ? '' : $this->translation->text('E-mail: @store_email', array('@store_email' => implode(',', $options['email'])));
          $replacements['@map'] = empty($options['map']) ? '' : $this->translation->text('Find us on Google Maps: @map', array('@map' => 'http://maps.google.com/?q=' . implode(',', $options['map'])));
  
          return rtrim(gplcart_string_format($signature, $replacements), "\t\n\r\0\x0B-");
      }
code: protected function getSignature(array $options)
      {
          $signature = "\r\n\r\n-------------------------------------\r\n@owner\r\n@address\r\n@phone\r\n@fax\r\n@store_email\r\n@map"; // @text
  
          $replacements = array();
          $replacements['@owner'] = empty($options['owner']) ? '' : $options['owner'];
          $replacements['@address'] = empty($options['address']) ? '' : $options['address'];
          $replacements['@phone'] = empty($options['phone']) ? '' : $this->translation->text('Tel: @phone', array('@phone' => implode(',', $options['phone'])));
          $replacements['@fax'] = empty($options['fax']) ? '' : $this->translation->text('Fax: @fax', array('@fax' => implode(',', $options['fax'])));
          $replacements['@store_email'] = empty($options['email']) ? '' : $this->translation->text('E-mail: @store_email', array('@store_email' => implode(',', $options['email'])));
          $replacements['@map'] = empty($options['map']) ? '' : $this->translation->text('Find us on Google Maps: @map', array('@map' => 'http://maps.google.com/?q=' . implode(',', $options['map'])));
  
          return rtrim(gplcart_string_format($signature, $replacements), "\t\n\r\0\x0B-");
      }
code_tokens: protected function getSignature ( array $ options ) { $ signature = "\r\n\r\n-------------------------------------\r\n@owner\r\n@address\r\n@phone\r\n@fax\r\n@store_email\r\n@map" ; // @text $ replacements = array ( ) ; $ replacements [ '@owner' ] = empty ( $ options [ 'owner' ] ) ? '' : $ options [ 'owner' ] ; $ replacements [ '@address' ] = empty ( $ options [ 'address' ] ) ? '' : $ options [ 'address' ] ; $ replacements [ '@phone' ] = empty ( $ options [ 'phone' ] ) ? '' : $ this -> translation -> text ( 'Tel: @phone' , array ( '@phone' => implode ( ',' , $ options [ 'phone' ] ) ) ) ; $ replacements [ '@fax' ] = empty ( $ options [ 'fax' ] ) ? '' : $ this -> translation -> text ( 'Fax: @fax' , array ( '@fax' => implode ( ',' , $ options [ 'fax' ] ) ) ) ; $ replacements [ '@store_email' ] = empty ( $ options [ 'email' ] ) ? '' : $ this -> translation -> text ( 'E-mail: @store_email' , array ( '@store_email' => implode ( ',' , $ options [ 'email' ] ) ) ) ; $ replacements [ '@map' ] = empty ( $ options [ 'map' ] ) ? '' : $ this -> translation -> text ( 'Find us on Google Maps: @map' , array ( '@map' => 'http://maps.google.com/?q=' . implode ( ',' , $ options [ 'map' ] ) ) ) ; return rtrim ( gplcart_string_format ( $ signature , $ replacements ) , "\t\n\r\0\x0B-" ) ; }
docstring: Returns a string containing default e-mail signature
  @param array $options
  @return string
docstring_tokens: Returns a string containing default e - mail signature