Class getID3
public
|
|
public
string
|
|
public
integer
|
|
public
boolean
|
|
public
boolean
|
|
public
array
|
|
public
array
|
|
public
boolean
|
|
public
array
|
|
public
mixed|false
|
|
public
|
#
CharConvert( array & $array, string $encoding )
Converts array to $encoding charset from $this->encoding. |
public
boolean
|
|
public
boolean
|
#
CopyTagsToComments( array & $ThisFileInfo )
Calls getid3_lib::CopyTagsToComments() but passes in the option_tags_html setting from this instance of getID3 |
public
array|boolean
|
|
public
|
|
public
boolean
|
|
public
boolean
|
|
public
boolean
|
|
public
boolean
|
|
public
string|boolean
|
|
public
boolean
|
|
public static
boolean
|
string |
VERSION
|
#
'1.9.20-202006061653'
|
integer |
FREAD_BUFFER_SIZE
|
#
32768
|
boolean |
ATTACHMENTS_NONE
|
#
false
|
boolean |
ATTACHMENTS_INLINE
|
#
true
|
public
string
|
$encoding
CASE SENSITIVE! - i.e. (must be supported by iconv()). Examples: ISO-8859-1 UTF-8 UTF-16 UTF-16BE |
#
'UTF-8'
|
public
string
|
$encoding_id3v1
Should always be 'ISO-8859-1', but some tags may be written in other encodings such as 'EUC-CN' or 'CP1252' |
#
'ISO-8859-1'
|
public
boolean
|
$encoding_id3v1_autodetect
ID3v1 should always be 'ISO-8859-1', but some tags may be written in other encodings such as 'Windows-1251' or 'KOI8-R'. If true attempt to detect these encodings, but may return incorrect values for some tags actually in ISO-8859-1 encoding |
#
false
|
public
boolean
|
$option_tag_id3v1
Read and process ID3v1 tags |
#
true
|
public
boolean
|
$option_tag_id3v2
Read and process ID3v2 tags |
#
true
|
public
boolean
|
$option_tag_lyrics3
Read and process Lyrics3 tags |
#
true
|
public
boolean
|
$option_tag_apetag
Read and process APE tags |
#
true
|
public
boolean
|
$option_tags_process
Copy tags to root key 'tags' and encode to $this->encoding |
#
true
|
public
boolean
|
$option_tags_html
Copy tags to root key 'tags_html' properly translated from various encodings to HTML entities |
#
true
|
public
boolean
|
$option_extra_info
Calculate additional info such as bitrate, channelmode etc |
#
true
|
public
boolean|string
|
$option_save_attachments
Defaults to true (ATTACHMENTS_INLINE) for backward compatibility |
#
true
|
public
boolean
|
$option_md5_data
Get MD5 sum of data part - slow |
#
false
|
public
boolean
|
$option_md5_data_source
Use MD5 of source file if availble - only FLAC and OptimFROG |
#
false
|
public
boolean
|
$option_sha1_data
Get SHA1 sum of data part - slow |
#
false
|
public
boolean|null
|
$option_max_2gb_check
Check whether file is larger than 2GB and thus not supported by 32-bit PHP (null: auto-detect based on PHP_INT_MAX) |
|
public
integer
|
$option_fread_buffer_size
Read buffer size in bytes |
#
32768
|
public
string
|
$filename
Filename of file being analysed. |
|
public
resource
|
$fp
Filepointer to file being analysed. |
|
public
array
|
$info
Result array. |
|
public
string
|
$tempdir
|
#
GETID3_TEMP_DIR
|
public
integer
|
$memory_limit
|
#
0
|
protected
string
|
$startup_error
|
#
''
|
protected
string
|
$startup_warning
|
#
''
|