original_string: protected function setCurrency($code)
      {
          $this->data_currency = array();
  
          if (!empty($code)) {
              $this->data_currency = $this->currency->get($code);
              if (empty($this->data_currency)) {
                  $this->outputHttpStatus(404);
              }
          }
      }
code: protected function setCurrency($code)
      {
          $this->data_currency = array();
  
          if (!empty($code)) {
              $this->data_currency = $this->currency->get($code);
              if (empty($this->data_currency)) {
                  $this->outputHttpStatus(404);
              }
          }
      }
code_tokens: protected function setCurrency ( $ code ) { $ this -> data_currency = array ( ) ; if ( ! empty ( $ code ) ) { $ this -> data_currency = $ this -> currency -> get ( $ code ) ; if ( empty ( $ this -> data_currency ) ) { $ this -> outputHttpStatus ( 404 ) ; } } }
docstring: Set a currency data
  @param string $code
docstring_tokens: Set a currency data