ZenphotoCMS 1.6.3

getid3_lib
in package

Table of Contents

Methods

array_max()  : int|false
array_merge_clobber()  : array<string|int, mixed>|false
array_merge_noclobber()  : array<string|int, mixed>|false
array_min()  : int|false
BigEndian2Bin()  : string
BigEndian2Float()  : float|false
ANSI/IEEE Standard 754-1985, Standard for Binary Floating Point Arithmetic
BigEndian2Int()  : int|float|false
BigEndian2String()  : string
Bin2Dec()  : int|float
Bin2String()  : string
CastAsInt()  : int|float
CopyFileParts()  : bool
CopyTagsToComments()  : bool
CreateDeepArray()  : array<string|int, mixed>
DateMac2Unix()  : int|float
Dec2Bin()  : string
DecimalBinary2Float()  : float
DecimalizeFraction()  : float
EmbeddedLookup()  : string
fileextension()  : string
FixedPoint16_16()  : float
FixedPoint2_30()  : float
FixedPoint8_8()  : float
flipped_array_merge_noclobber()  : array<string|int, mixed>|false|null
Float2BinaryDecimal()  : string
Float2String()  : string|false
GetDataImageSize()  : array<string|int, mixed>|false
getFileSizeSyscall()  : float|bool
hash_data()  : string|false
Returns checksum for a file from starting position to absolute end position.
iconv_fallback()  : string
iconv_fallback_int_utf8()  : string
iconv_fallback_iso88591_utf16()  : string
ISO-8859-1 => UTF-16LE (BOM)
iconv_fallback_iso88591_utf16be()  : string
ISO-8859-1 => UTF-16BE
iconv_fallback_iso88591_utf16le()  : string
ISO-8859-1 => UTF-16LE
iconv_fallback_iso88591_utf8()  : string
ISO-8859-1 => UTF-8
iconv_fallback_utf16_iso88591()  : string
UTF-16 (BOM) => ISO-8859-1
iconv_fallback_utf16_utf8()  : string
UTF-16 (BOM) => UTF-8
iconv_fallback_utf16be_iso88591()  : string
UTF-16BE => ISO-8859-1
iconv_fallback_utf16be_utf8()  : string
UTF-16BE => UTF-8
iconv_fallback_utf16le_iso88591()  : string
UTF-16LE => ISO-8859-1
iconv_fallback_utf16le_utf8()  : string
UTF-16LE => UTF-8
iconv_fallback_utf8_iso88591()  : string
UTF-8 => ISO-8859-1
iconv_fallback_utf8_utf16()  : string
UTF-8 => UTF-16LE (BOM)
iconv_fallback_utf8_utf16be()  : string
UTF-8 => UTF-16BE
iconv_fallback_utf8_utf16le()  : string
UTF-8 => UTF-16LE
ImageExtFromMime()  : string
IncludeDependency()  : bool
intValueSupported()  : bool
ksort_recursive()  : bool
LittleEndian2Bin()  : string
LittleEndian2Float()  : float|false
LittleEndian2Int()  : int|float|false
LittleEndian2String()  : string
mb_basename()  : string
Workaround for Bug #37268 (https://bugs.php.net/bug.php?id=37268)
MultiByteCharString2HTML()  : string
NormalizeBinaryPoint()  : array<string|int, mixed>
PlaytimeString()  : string
PrintHexBytes()  : string
recursiveMultiByteCharString2HTML()  : mixed
RGADadjustmentLookup()  : float
RGADamplitude2dB()  : float
RGADgainString()  : string
RGADnameLookup()  : string
RGADoriginatorLookup()  : string
safe_inc()  : bool
SafeDiv()  : float|int
Perform a division, guarding against division by zero
SimpleXMLelement2array()  : mixed
trimNullByte()  : string
truepath()  : string|false
trunc()  : float|int
Truncates a floating-point number at the decimal point.
XML2array()  : array<string|int, mixed>|false

Methods

array_max()

public static array_max(array<string|int, mixed> $arraydata[, bool $returnkey = false ]) : int|false
Parameters
$arraydata : array<string|int, mixed>
$returnkey : bool = false
Return values
int|false

array_merge_clobber()

public static array_merge_clobber(mixed $array1, mixed $array2) : array<string|int, mixed>|false
Parameters
$array1 : mixed
$array2 : mixed
Return values
array<string|int, mixed>|false

array_merge_noclobber()

public static array_merge_noclobber(mixed $array1, mixed $array2) : array<string|int, mixed>|false
Parameters
$array1 : mixed
$array2 : mixed
Return values
array<string|int, mixed>|false

array_min()

public static array_min(array<string|int, mixed> $arraydata[, bool $returnkey = false ]) : int|false
Parameters
$arraydata : array<string|int, mixed>
$returnkey : bool = false
Return values
int|false

BigEndian2Bin()

public static BigEndian2Bin(string $byteword) : string
Parameters
$byteword : string
Return values
string

BigEndian2Int()

public static BigEndian2Int(string $byteword[, bool $synchsafe = false ][, bool $signed = false ]) : int|float|false
Parameters
$byteword : string
$synchsafe : bool = false
$signed : bool = false
Tags
throws
Exception
Return values
int|float|false

BigEndian2String()

public static BigEndian2String(int $number[, int $minbytes = 1 ][, bool $synchsafe = false ][, bool $signed = false ]) : string
Parameters
$number : int
$minbytes : int = 1
$synchsafe : bool = false
$signed : bool = false
Tags
throws
Exception
Return values
string

Bin2Dec()

public static Bin2Dec(string $binstring[, bool $signed = false ]) : int|float
Parameters
$binstring : string
$signed : bool = false
Return values
int|float

Bin2String()

public static Bin2String(string $binstring) : string
Parameters
$binstring : string
Return values
string

CastAsInt()

public static CastAsInt(int|float $floatnum) : int|float
Parameters
$floatnum : int|float
Return values
int|float

CopyFileParts()

public static CopyFileParts(string $filename_source, string $filename_dest, int $offset, int $length) : bool
Parameters
$filename_source : string
$filename_dest : string
$offset : int
$length : int
Tags
throws
Exception
deprecated

Unused, may be removed in future versions of getID3

Return values
bool

CopyTagsToComments()

public static CopyTagsToComments(array<string|int, mixed> &$ThisFileInfo[, bool $option_tags_html = true ]) : bool
Parameters
$ThisFileInfo : array<string|int, mixed>
$option_tags_html : bool = true

default true (just as in the main getID3 class)

Return values
bool

CreateDeepArray()

public static CreateDeepArray(string $ArrayPath, string $Separator, mixed $Value) : array<string|int, mixed>
Parameters
$ArrayPath : string
$Separator : string
$Value : mixed
Return values
array<string|int, mixed>

DateMac2Unix()

public static DateMac2Unix(int $macdate) : int|float
Parameters
$macdate : int
Return values
int|float

Dec2Bin()

public static Dec2Bin(int $number) : string
Parameters
$number : int
Return values
string

DecimalBinary2Float()

public static DecimalBinary2Float(string $binarynumerator) : float
Parameters
$binarynumerator : string
Return values
float

DecimalizeFraction()

public static DecimalizeFraction(string $fraction) : float
Parameters
$fraction : string
Return values
float

EmbeddedLookup()

public static EmbeddedLookup(string $key, int $begin, int $end, string $file, string $name) : string
Parameters
$key : string
$begin : int
$end : int
$file : string
$name : string
Return values
string

fileextension()

public static fileextension(string $filename[, int $numextensions = 1 ]) : string
Parameters
$filename : string
$numextensions : int = 1
Return values
string

FixedPoint16_16()

public static FixedPoint16_16(string $rawdata) : float
Parameters
$rawdata : string
Return values
float

FixedPoint2_30()

public static FixedPoint2_30(string $rawdata) : float
Parameters
$rawdata : string
Return values
float

FixedPoint8_8()

public static FixedPoint8_8(string $rawdata) : float
Parameters
$rawdata : string
Return values
float

flipped_array_merge_noclobber()

public static flipped_array_merge_noclobber(mixed $array1, mixed $array2) : array<string|int, mixed>|false|null
Parameters
$array1 : mixed
$array2 : mixed
Return values
array<string|int, mixed>|false|null

GetDataImageSize()

public static GetDataImageSize(string $imgData[, array<string|int, mixed> &$imageinfo = array() ]) : array<string|int, mixed>|false
Parameters
$imgData : string
$imageinfo : array<string|int, mixed> = array()
Return values
array<string|int, mixed>|false

getFileSizeSyscall()

public static getFileSizeSyscall(string $path) : float|bool
Parameters
$path : string
Return values
float|bool

hash_data()

Returns checksum for a file from starting position to absolute end position.

public static hash_data(string $file, int $offset, int $end, string $algorithm) : string|false
Parameters
$file : string
$offset : int
$end : int
$algorithm : string
Tags
throws
getid3_exception
Return values
string|false

iconv_fallback()

public static iconv_fallback(string $in_charset, string $out_charset, string $string) : string
Parameters
$in_charset : string
$out_charset : string
$string : string
Tags
throws
Exception
Return values
string

iconv_fallback_int_utf8()

public static iconv_fallback_int_utf8(int $charval) : string
Parameters
$charval : int
Return values
string

iconv_fallback_iso88591_utf16()

ISO-8859-1 => UTF-16LE (BOM)

public static iconv_fallback_iso88591_utf16(string $string) : string
Parameters
$string : string
Return values
string

iconv_fallback_iso88591_utf16be()

ISO-8859-1 => UTF-16BE

public static iconv_fallback_iso88591_utf16be(string $string[, bool $bom = false ]) : string
Parameters
$string : string
$bom : bool = false
Return values
string

iconv_fallback_iso88591_utf16le()

ISO-8859-1 => UTF-16LE

public static iconv_fallback_iso88591_utf16le(string $string[, bool $bom = false ]) : string
Parameters
$string : string
$bom : bool = false
Return values
string

iconv_fallback_iso88591_utf8()

ISO-8859-1 => UTF-8

public static iconv_fallback_iso88591_utf8(string $string[, bool $bom = false ]) : string
Parameters
$string : string
$bom : bool = false
Return values
string

iconv_fallback_utf16_iso88591()

UTF-16 (BOM) => ISO-8859-1

public static iconv_fallback_utf16_iso88591(string $string) : string
Parameters
$string : string
Return values
string

iconv_fallback_utf16_utf8()

UTF-16 (BOM) => UTF-8

public static iconv_fallback_utf16_utf8(string $string) : string
Parameters
$string : string
Return values
string

iconv_fallback_utf16be_iso88591()

UTF-16BE => ISO-8859-1

public static iconv_fallback_utf16be_iso88591(string $string) : string
Parameters
$string : string
Return values
string

iconv_fallback_utf16be_utf8()

UTF-16BE => UTF-8

public static iconv_fallback_utf16be_utf8(string $string) : string
Parameters
$string : string
Return values
string

iconv_fallback_utf16le_iso88591()

UTF-16LE => ISO-8859-1

public static iconv_fallback_utf16le_iso88591(string $string) : string
Parameters
$string : string
Return values
string

iconv_fallback_utf16le_utf8()

UTF-16LE => UTF-8

public static iconv_fallback_utf16le_utf8(string $string) : string
Parameters
$string : string
Return values
string

iconv_fallback_utf8_iso88591()

UTF-8 => ISO-8859-1

public static iconv_fallback_utf8_iso88591(string $string) : string
Parameters
$string : string
Return values
string

iconv_fallback_utf8_utf16()

UTF-8 => UTF-16LE (BOM)

public static iconv_fallback_utf8_utf16(string $string) : string
Parameters
$string : string
Return values
string

iconv_fallback_utf8_utf16be()

UTF-8 => UTF-16BE

public static iconv_fallback_utf8_utf16be(string $string[, bool $bom = false ]) : string
Parameters
$string : string
$bom : bool = false
Return values
string

iconv_fallback_utf8_utf16le()

UTF-8 => UTF-16LE

public static iconv_fallback_utf8_utf16le(string $string[, bool $bom = false ]) : string
Parameters
$string : string
$bom : bool = false
Return values
string

ImageExtFromMime()

public static ImageExtFromMime(string $mime_type) : string
Parameters
$mime_type : string
Return values
string

IncludeDependency()

public static IncludeDependency(string $filename, string $sourcefile[, bool $DieOnFailure = false ]) : bool
Parameters
$filename : string
$sourcefile : string
$DieOnFailure : bool = false
Tags
throws
Exception
Return values
bool

intValueSupported()

public static intValueSupported(int $num) : bool
Parameters
$num : int
Return values
bool

ksort_recursive()

public static ksort_recursive(array<string|int, mixed> &$theArray) : bool
Parameters
$theArray : array<string|int, mixed>
Return values
bool

LittleEndian2Bin()

public static LittleEndian2Bin(string $byteword) : string
Parameters
$byteword : string
Return values
string

LittleEndian2Float()

public static LittleEndian2Float(string $byteword) : float|false
Parameters
$byteword : string
Return values
float|false

LittleEndian2Int()

public static LittleEndian2Int(string $byteword[, bool $signed = false ]) : int|float|false
Parameters
$byteword : string
$signed : bool = false
Return values
int|float|false

LittleEndian2String()

public static LittleEndian2String(int $number[, int $minbytes = 1 ][, bool $synchsafe = false ]) : string
Parameters
$number : int
$minbytes : int = 1
$synchsafe : bool = false
Return values
string

mb_basename()

Workaround for Bug #37268 (https://bugs.php.net/bug.php?id=37268)

public static mb_basename(string $path[, string $suffix = '' ]) : string
Parameters
$path : string

A path.

$suffix : string = ''

If the name component ends in suffix this will also be cut off.

Return values
string

MultiByteCharString2HTML()

public static MultiByteCharString2HTML(string|int|float $string[, string $charset = 'ISO-8859-1' ]) : string
Parameters
$string : string|int|float
$charset : string = 'ISO-8859-1'
Return values
string

PlaytimeString()

public static PlaytimeString(int $seconds) : string
Parameters
$seconds : int
Return values
string

PrintHexBytes()

public static PrintHexBytes(string $string[, bool $hex = true ][, bool $spaces = true ][, string|bool $htmlencoding = 'UTF-8' ]) : string
Parameters
$string : string
$hex : bool = true
$spaces : bool = true
$htmlencoding : string|bool = 'UTF-8'
Return values
string

recursiveMultiByteCharString2HTML()

public static recursiveMultiByteCharString2HTML(mixed $data[, string $charset = 'ISO-8859-1' ]) : mixed
Parameters
$data : mixed
$charset : string = 'ISO-8859-1'

RGADadjustmentLookup()

public static RGADadjustmentLookup(int $rawadjustment, int $signbit) : float
Parameters
$rawadjustment : int
$signbit : int
Return values
float

RGADamplitude2dB()

public static RGADamplitude2dB(float $amplitude) : float
Parameters
$amplitude : float
Return values
float

RGADgainString()

public static RGADgainString(int $namecode, int $originatorcode, int $replaygain) : string
Parameters
$namecode : int
$originatorcode : int
$replaygain : int
Return values
string

RGADnameLookup()

public static RGADnameLookup(int $namecode) : string
Parameters
$namecode : int
Return values
string

RGADoriginatorLookup()

public static RGADoriginatorLookup(int $originatorcode) : string
Parameters
$originatorcode : int
Return values
string

safe_inc()

public static safe_inc(int|null &$variable[, int $increment = 1 ]) : bool
Parameters
$variable : int|null
$increment : int = 1
Return values
bool

SafeDiv()

Perform a division, guarding against division by zero

public static SafeDiv(float|int $numerator, float|int $denominator[, float|int $fallback = 0 ]) : float|int
Parameters
$numerator : float|int
$denominator : float|int
$fallback : float|int = 0
Return values
float|int

SimpleXMLelement2array()

public static SimpleXMLelement2array(SimpleXMLElement|array<string|int, mixed>|mixed $XMLobject) : mixed
Parameters
$XMLobject : SimpleXMLElement|array<string|int, mixed>|mixed

trimNullByte()

public static trimNullByte(string $string) : string
Parameters
$string : string
Return values
string

truepath()

public static truepath(string $filename) : string|false
Parameters
$filename : string
Return values
string|false

trunc()

Truncates a floating-point number at the decimal point.

public static trunc(float $floatnumber) : float|int
Parameters
$floatnumber : float
Return values
float|int

returns int (if possible, otherwise float)

XML2array()

public static XML2array(string $XMLstring) : array<string|int, mixed>|false
Parameters
$XMLstring : string
Return values
array<string|int, mixed>|false

        
On this page

Search results