getid3_handler::AnalyzeString() – Analyze from string instead.
You appear to be a bot. Output may be restricted
Description
Analyze from string instead.
Usage
getid3_handler::AnalyzeString( $string );
Parameters
- $string
- ( string ) required –
Returns
void
Source
File name: wordpress/wp-includes/ID3/getid3.php
Lines:
1 to 24 of 24
public function AnalyzeString($string) { // Enter string mode $this->getid3_handler::setStringMode($string); // Save info $saved_avdataoffset = $this->getid3->info['avdataoffset']; $saved_avdataend = $this->getid3->info['avdataend']; $saved_filesize = (isset($this->getid3->info['filesize']) ? $this->getid3->info['filesize'] : null); // may be not set if called as dependency without openfile() call // Reset some info $this->getid3->info['avdataoffset'] = 0; $this->getid3->info['avdataend'] = $this->getid3->info['filesize'] = $this->data_string_length; // Analyze $this->getid3_handler::Analyze(); // Restore some info $this->getid3->info['avdataoffset'] = $saved_avdataoffset; $this->getid3->info['avdataend'] = $saved_avdataend; $this->getid3->info['filesize'] = $saved_filesize; // Exit string mode $this->data_string_flag = false; }