getid3_apetag
extends getid3_handler
in package
Table of Contents
Properties
- $inline_attachments : int|bool|string
- true: return full data for all attachments; false: return no data for all attachments; integer: return data for attachments <= than this; string: save as file to this directory.
- $overrideendoffset : 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.
- APEcontentTypeFlagLookup() : string
- APEtagItemIsUTF8Lookup() : bool
- parseAPEheaderFooter() : array<string|int, mixed>|false
- parseAPEtagFlags() : array<string|int, mixed>
- saveAttachment() : string|null
- setStringMode() : mixed
- error() : bool
- feof() : bool
- fgets() : string|false
- fread() : string|false
- fseek() : int
- ftell() : int|bool
- isDependencyFor() : bool
- notice() : mixed
- warning() : bool
Properties
$inline_attachments
true: return full data for all attachments; false: return no data for all attachments; integer: return data for attachments <= than this; string: save as file to this directory.
public
int|bool|string
$inline_attachments
= \true
$overrideendoffset
public
mixed
$overrideendoffset
= 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
APEcontentTypeFlagLookup()
public
APEcontentTypeFlagLookup(int $contenttypeid) : string
Parameters
- $contenttypeid : int
Return values
stringAPEtagItemIsUTF8Lookup()
public
APEtagItemIsUTF8Lookup(string $itemkey) : bool
Parameters
- $itemkey : string
Return values
boolparseAPEheaderFooter()
public
parseAPEheaderFooter(string $APEheaderFooterData) : array<string|int, mixed>|false
Parameters
- $APEheaderFooterData : string
Return values
array<string|int, mixed>|falseparseAPEtagFlags()
public
parseAPEtagFlags(int $rawflagint) : array<string|int, mixed>
Parameters
- $rawflagint : int
Return values
array<string|int, mixed>saveAttachment()
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
error()
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