You are here

protected function D3LibraryInfoProcessor::trim in d3.js 7

Helper function to process info line with [] or {}.

See also

processValue().

2 calls to D3LibraryInfoProcessor::trim()
D3LibraryInfoProcessor::parseSpecialString in includes/D3LibraryInfoProcessor.inc
Parse special strings into arrays.
D3LibraryInfoProcessor::processValues in includes/D3LibraryInfoProcessor.inc
Sub function to start a recursive process.

File

includes/D3LibraryInfoProcessor.inc, line 190
D3 .info file processor class.

Class

D3LibraryInfoProcessor
Parse additional information from library .info files.

Code

protected function trim($str) {
  return trim($str, "\\[\\] \\{\\}\t\n\r\0\v");
}