getid3_id3v2
extends getid3_handler
in package
Table of Contents
Properties
- $StartingOffset : mixed
- $data_string : string
- String to analyze.
- $data_string_flag : bool
- Analyzing filepointer or string.
- $data_string_length : int
- String length.
- $data_string_position : int
- Seek position in string.
- $getid3 : getID3
- $dependency_to : string
Methods
- __construct() : mixed
- getid3_handler constructor.
- Analyze() : bool
- Analyze from file pointer.
- AnalyzeString() : mixed
- Analyze from string instead.
- APICPictureTypeLookup() : array<string|int, mixed>|string
- COMRReceivedAsLookup() : string
- DeUnsynchronise() : string
- ETCOEventLookup() : string
- FrameNameLongLookup() : string
- FrameNameShortLookup() : string
- ID3v22iTunesBrokenFrameName() : string|false
- ID3v2HeaderLength() : int
- IsANumber() : bool
- IsValidDateStampString() : bool
- IsValidID3v2FrameName() : bool|int
- LanguageLookup() : string
- LookupCurrencyCountry() : string
- LookupCurrencyUnits() : string
- LookupExtendedHeaderRestrictionsImageEncoding() : string
- LookupExtendedHeaderRestrictionsImageSizeSize() : string
- LookupExtendedHeaderRestrictionsTagSizeLimits() : string
- LookupExtendedHeaderRestrictionsTextEncodings() : string
- LookupExtendedHeaderRestrictionsTextFieldSize() : string
- MakeUTF16emptyStringEmpty() : string
- ParseID3v2Frame() : bool
- ParseID3v2GenreString() : array<string|int, mixed>
- RemoveStringTerminator() : string
- RVA2ChannelTypeLookup() : string
- saveAttachment() : string|null
- setStringMode() : mixed
- SYTLContentTypeLookup() : string
- TextEncodingNameLookup() : string
- TextEncodingTerminatorLookup() : string
- error() : bool
- feof() : bool
- fgets() : string|false
- fread() : string|false
- fseek() : int
- ftell() : int|bool
- isDependencyFor() : bool
- notice() : mixed
- warning() : bool
Properties
$StartingOffset
public
mixed
$StartingOffset
= 0
$data_string
String to analyze.
protected
string
$data_string
= ''
$data_string_flag
Analyzing filepointer or string.
protected
bool
$data_string_flag
= \false
$data_string_length
String length.
protected
int
$data_string_length
= 0
$data_string_position
Seek position in string.
protected
int
$data_string_position
= 0
$getid3
protected
getID3
$getid3
$dependency_to
private
string
$dependency_to
Methods
__construct()
getid3_handler constructor.
public
__construct(getID3 $getid3[, string $call_module = null ]) : mixed
Parameters
- $getid3 : getID3
- $call_module : string = null
Analyze()
Analyze from file pointer.
public
Analyze() : bool
Return values
boolAnalyzeString()
Analyze from string instead.
public
AnalyzeString(string $string) : mixed
Parameters
- $string : string
APICPictureTypeLookup()
public
static APICPictureTypeLookup(int $index[, bool $returnarray = false ]) : array<string|int, mixed>|string
Parameters
- $index : int
- $returnarray : bool = false
Return values
array<string|int, mixed>|stringCOMRReceivedAsLookup()
public
static COMRReceivedAsLookup(int $index) : string
Parameters
- $index : int
Return values
stringDeUnsynchronise()
public
DeUnsynchronise(string $data) : string
Parameters
- $data : string
Return values
stringETCOEventLookup()
public
static ETCOEventLookup(int $index) : string
Parameters
- $index : int
Return values
stringFrameNameLongLookup()
public
static FrameNameLongLookup(string $framename) : string
Parameters
- $framename : string
Return values
stringFrameNameShortLookup()
public
static FrameNameShortLookup(string $framename) : string
Parameters
- $framename : string
Return values
stringID3v22iTunesBrokenFrameName()
public
static ID3v22iTunesBrokenFrameName(string $frame_name) : string|false
Parameters
- $frame_name : string
Return values
string|falseID3v2HeaderLength()
public
static ID3v2HeaderLength(int $majorversion) : int
Parameters
- $majorversion : int
Return values
intIsANumber()
public
static IsANumber(string $numberstring[, bool $allowdecimal = false ][, bool $allownegative = false ]) : bool
Parameters
- $numberstring : string
- $allowdecimal : bool = false
- $allownegative : bool = false
Return values
boolIsValidDateStampString()
public
static IsValidDateStampString(string $datestamp) : bool
Parameters
- $datestamp : string
Return values
boolIsValidID3v2FrameName()
public
static IsValidID3v2FrameName(string $framename, int $id3v2majorversion) : bool|int
Parameters
- $framename : string
- $id3v2majorversion : int
Return values
bool|intLanguageLookup()
public
static LanguageLookup(string $languagecode[, bool $casesensitive = false ]) : string
Parameters
- $languagecode : string
- $casesensitive : bool = false
Return values
stringLookupCurrencyCountry()
public
LookupCurrencyCountry(string $currencyid) : string
Parameters
- $currencyid : string
Return values
stringLookupCurrencyUnits()
public
LookupCurrencyUnits(string $currencyid) : string
Parameters
- $currencyid : string
Return values
stringLookupExtendedHeaderRestrictionsImageEncoding()
public
LookupExtendedHeaderRestrictionsImageEncoding(int $index) : string
Parameters
- $index : int
Return values
stringLookupExtendedHeaderRestrictionsImageSizeSize()
public
LookupExtendedHeaderRestrictionsImageSizeSize(int $index) : string
Parameters
- $index : int
Return values
stringLookupExtendedHeaderRestrictionsTagSizeLimits()
public
LookupExtendedHeaderRestrictionsTagSizeLimits(int $index) : string
Parameters
- $index : int
Return values
stringLookupExtendedHeaderRestrictionsTextEncodings()
public
LookupExtendedHeaderRestrictionsTextEncodings(int $index) : string
Parameters
- $index : int
Return values
stringLookupExtendedHeaderRestrictionsTextFieldSize()
public
LookupExtendedHeaderRestrictionsTextFieldSize(int $index) : string
Parameters
- $index : int
Return values
stringMakeUTF16emptyStringEmpty()
public
static MakeUTF16emptyStringEmpty(string $string) : string
Parameters
- $string : string
Return values
stringParseID3v2Frame()
public
ParseID3v2Frame(array<string|int, mixed> &$parsedFrame) : bool
Parameters
- $parsedFrame : array<string|int, mixed>
Return values
boolParseID3v2GenreString()
public
ParseID3v2GenreString(string $genrestring) : array<string|int, mixed>
Parameters
- $genrestring : string
Return values
array<string|int, mixed>RemoveStringTerminator()
public
static RemoveStringTerminator(string $string, string $terminator) : string
Parameters
- $string : string
- $terminator : string
Return values
stringRVA2ChannelTypeLookup()
public
static RVA2ChannelTypeLookup(int $index) : string
Parameters
- $index : int
Return values
stringsaveAttachment()
public
saveAttachment(string $name, int $offset, int $length[, string $image_mime = null ]) : string|null
Parameters
- $name : string
- $offset : int
- $length : int
- $image_mime : string = null
Tags
Return values
string|nullsetStringMode()
public
setStringMode(string $string) : mixed
Parameters
- $string : string
SYTLContentTypeLookup()
public
static SYTLContentTypeLookup(int $index) : string
Parameters
- $index : int
Return values
stringTextEncodingNameLookup()
public
static TextEncodingNameLookup(int $encoding) : string
Parameters
- $encoding : int
Return values
stringTextEncodingTerminatorLookup()
public
static TextEncodingTerminatorLookup(string $encoding) : string
Parameters
- $encoding : string
Return values
stringerror()
protected
error(string $text) : bool
Parameters
- $text : string
Return values
boolfeof()
protected
feof() : bool
Return values
boolfgets()
protected
fgets() : string|false
Tags
Return values
string|falsefread()
protected
fread(int $bytes) : string|false
Parameters
- $bytes : int
Tags
Return values
string|falsefseek()
protected
fseek(int $bytes[, int $whence = SEEK_SET ]) : int
Parameters
- $bytes : int
- $whence : int = SEEK_SET
Tags
Return values
intftell()
protected
ftell() : int|bool
Return values
int|boolisDependencyFor()
protected
final isDependencyFor(string $module) : bool
Parameters
- $module : string
Return values
boolnotice()
protected
notice(string $text) : mixed
Parameters
- $text : string
warning()
protected
warning(string $text) : bool
Parameters
- $text : string