original_string: public function exportArms($format = 'php', $arms = [])
      {
          $data = array(
                  'token' => $this->apiToken,
                  'content' => 'arm',
                  'returnFormat' => 'json'
          );
          
          $legalFormats = array('csv', 'json', 'php', 'xml');
          $data['format'] = $this->processFormatArgument($format, $legalFormats);
          $data['arms']   = $this->processArmsArgument($arms);
          
          $arms = $this->connection->callWithArray($data);
          $arms = $this->processExportResult($arms, $format);
          
          return $arms;
      }
code: public function exportArms($format = 'php', $arms = [])
      {
          $data = array(
                  'token' => $this->apiToken,
                  'content' => 'arm',
                  'returnFormat' => 'json'
          );
          
          $legalFormats = array('csv', 'json', 'php', 'xml');
          $data['format'] = $this->processFormatArgument($format, $legalFormats);
          $data['arms']   = $this->processArmsArgument($arms);
          
          $arms = $this->connection->callWithArray($data);
          $arms = $this->processExportResult($arms, $format);
          
          return $arms;
      }
code_tokens: public function exportArms ( $ format = 'php' , $ arms = [ ] ) { $ data = array ( 'token' => $ this -> apiToken , 'content' => 'arm' , 'returnFormat' => 'json' ) ; $ legalFormats = array ( 'csv' , 'json' , 'php' , 'xml' ) ; $ data [ 'format' ] = $ this -> processFormatArgument ( $ format , $ legalFormats ) ; $ data [ 'arms' ] = $ this -> processArmsArgument ( $ arms ) ; $ arms = $ this -> connection -> callWithArray ( $ data ) ; $ arms = $ this -> processExportResult ( $ arms , $ format ) ; return $ arms ; }
docstring: Exports the numbers and names of the arms in the project.
  
  @param $format string the format used to export the arm data.
  <ul>
  <li> 'php' - [default] array of maps of values</li>
  <li> 'csv' - string of CSV (comma-separated values)</li>
  <li> 'json' - string of JSON encoded values</li>
  <li> 'xml' - string of XML encoded data</li>
  </ul>
  @param array $arms array of integers or numeric strings that are the numbers of the arms to export.
  If no arms are specified, then information for all arms will be returned.
  
  @return mixed For 'php' format, array of arrays that have the following keys:
  <ul>
  <li>'arm_num'</li>
  <li>'name'</li>
  </ul>
docstring_tokens: Exports the numbers and names of the arms in the project .