[ Index ]

PHP Cross Reference of WordPress

title

Body

[close]

/wp-includes/ID3/ -> getid3.lib.php (summary)

part of getID3()                           //

File Size: 1832 lines (55 kb)
Included or required: 1 time
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

getid3_lib:: (70 methods):
  PrintHexBytes()
  trunc()
  safe_inc()
  CastAsInt()
  intValueSupported()
  DecimalizeFraction()
  DecimalBinary2Float()
  NormalizeBinaryPoint()
  Float2BinaryDecimal()
  Float2String()
  LittleEndian2Float()
  BigEndian2Float()
  BigEndian2Int()
  LittleEndian2Int()
  LittleEndian2Bin()
  BigEndian2Bin()
  BigEndian2String()
  Dec2Bin()
  Bin2Dec()
  Bin2String()
  LittleEndian2String()
  array_merge_clobber()
  array_merge_noclobber()
  flipped_array_merge_noclobber()
  ksort_recursive()
  fileextension()
  PlaytimeString()
  DateMac2Unix()
  FixedPoint8_8()
  FixedPoint16_16()
  FixedPoint2_30()
  CreateDeepArray()
  array_max()
  array_min()
  XML2array()
  SimpleXMLelement2array()
  hash_data()
  CopyFileParts()
  iconv_fallback_int_utf8()
  iconv_fallback_iso88591_utf8()
  iconv_fallback_iso88591_utf16be()
  iconv_fallback_iso88591_utf16le()
  iconv_fallback_iso88591_utf16()
  iconv_fallback_utf8_iso88591()
  iconv_fallback_utf8_utf16be()
  iconv_fallback_utf8_utf16le()
  iconv_fallback_utf8_utf16()
  iconv_fallback_utf16be_utf8()
  iconv_fallback_utf16le_utf8()
  iconv_fallback_utf16be_iso88591()
  iconv_fallback_utf16le_iso88591()
  iconv_fallback_utf16_iso88591()
  iconv_fallback_utf16_utf8()
  iconv_fallback()
  recursiveMultiByteCharString2HTML()
  MultiByteCharString2HTML()
  RGADnameLookup()
  RGADoriginatorLookup()
  RGADadjustmentLookup()
  RGADgainString()
  RGADamplitude2dB()
  GetDataImageSize()
  ImageExtFromMime()
  CopyTagsToComments()
  EmbeddedLookup()
  IncludeDependency()
  trimNullByte()
  getFileSizeSyscall()
  truepath()
  mb_basename()


Class: getid3_lib  - X-Ref

PrintHexBytes($string, $hex=true, $spaces=true, $htmlencoding='UTF-8')   X-Ref

return: string
param: string      $string
param: bool        $hex
param: bool        $spaces
param: string|bool $htmlencoding

trunc($floatnumber)   X-Ref
Truncates a floating-point number at the decimal point.

return: float|int returns int (if possible, otherwise float)
param: float $floatnumber

safe_inc(&$variable, $increment=1)   X-Ref

return: bool
param: int|null $variable
param: int      $increment

CastAsInt($floatnum)   X-Ref

return: int|float
param: int|float $floatnum

intValueSupported($num)   X-Ref

return: bool
param: int $num

DecimalizeFraction($fraction)   X-Ref

return: float
param: string $fraction

DecimalBinary2Float($binarynumerator)   X-Ref

return: float
param: string $binarynumerator

NormalizeBinaryPoint($binarypointnumber, $maxbits=52)   X-Ref

return: array
param: string $binarypointnumber
param: int    $maxbits

Float2BinaryDecimal($floatvalue)   X-Ref

return: string
param: float $floatvalue

Float2String($floatvalue, $bits)   X-Ref

return: string|false
param: float $floatvalue
param: int $bits

LittleEndian2Float($byteword)   X-Ref

return: float|false
param: string $byteword

BigEndian2Float($byteword)   X-Ref
ANSI/IEEE Standard 754-1985, Standard for Binary Floating Point Arithmetic

return: float|false
param: string $byteword

BigEndian2Int($byteword, $synchsafe=false, $signed=false)   X-Ref

return: int|float|false
param: string $byteword
param: bool   $synchsafe
param: bool   $signed

LittleEndian2Int($byteword, $signed=false)   X-Ref

return: int|float|false
param: string $byteword
param: bool   $signed

LittleEndian2Bin($byteword)   X-Ref

return: string
param: string $byteword

BigEndian2Bin($byteword)   X-Ref

return: string
param: string $byteword

BigEndian2String($number, $minbytes=1, $synchsafe=false, $signed=false)   X-Ref

return: string
param: int  $number
param: int  $minbytes
param: bool $synchsafe
param: bool $signed

Dec2Bin($number)   X-Ref

return: string
param: int $number

Bin2Dec($binstring, $signed=false)   X-Ref

return: int|float
param: string $binstring
param: bool   $signed

Bin2String($binstring)   X-Ref

return: string
param: string $binstring

LittleEndian2String($number, $minbytes=1, $synchsafe=false)   X-Ref

return: string
param: int  $number
param: int  $minbytes
param: bool $synchsafe

array_merge_clobber($array1, $array2)   X-Ref

return: array|false
param: mixed $array1
param: mixed $array2

array_merge_noclobber($array1, $array2)   X-Ref

return: array|false
param: mixed $array1
param: mixed $array2

flipped_array_merge_noclobber($array1, $array2)   X-Ref

return: array|false|null
param: mixed $array1
param: mixed $array2

ksort_recursive(&$theArray)   X-Ref

return: bool
param: array $theArray

fileextension($filename, $numextensions=1)   X-Ref

return: string
param: string $filename
param: int    $numextensions

PlaytimeString($seconds)   X-Ref

return: string
param: int $seconds

DateMac2Unix($macdate)   X-Ref

return: int|float
param: int $macdate

FixedPoint8_8($rawdata)   X-Ref

return: float
param: string $rawdata

FixedPoint16_16($rawdata)   X-Ref

return: float
param: string $rawdata

FixedPoint2_30($rawdata)   X-Ref

return: float
param: string $rawdata

CreateDeepArray($ArrayPath, $Separator, $Value)   X-Ref

return: array
param: string $ArrayPath
param: string $Separator
param: mixed $Value

array_max($arraydata, $returnkey=false)   X-Ref

return: int|false
param: array $arraydata
param: bool  $returnkey

array_min($arraydata, $returnkey=false)   X-Ref

return: int|false
param: array $arraydata
param: bool  $returnkey

XML2array($XMLstring)   X-Ref

return: array|false
param: string $XMLstring

SimpleXMLelement2array($XMLobject)   X-Ref

return: mixed
param: SimpleXMLElement|array|mixed $XMLobject

hash_data($file, $offset, $end, $algorithm)   X-Ref
Returns checksum for a file from starting position to absolute end position.

return: string|false
param: string $file
param: int    $offset
param: int    $end
param: string $algorithm

CopyFileParts($filename_source, $filename_dest, $offset, $length)   X-Ref

return: bool
param: string $filename_source
param: string $filename_dest
param: int    $offset
param: int    $length

iconv_fallback_int_utf8($charval)   X-Ref

return: string
param: int $charval

iconv_fallback_iso88591_utf8($string, $bom=false)   X-Ref
ISO-8859-1 => UTF-8

return: string
param: string $string
param: bool   $bom

iconv_fallback_iso88591_utf16be($string, $bom=false)   X-Ref
ISO-8859-1 => UTF-16BE

return: string
param: string $string
param: bool   $bom

iconv_fallback_iso88591_utf16le($string, $bom=false)   X-Ref
ISO-8859-1 => UTF-16LE

return: string
param: string $string
param: bool   $bom

iconv_fallback_iso88591_utf16($string)   X-Ref
ISO-8859-1 => UTF-16LE (BOM)

return: string
param: string $string

iconv_fallback_utf8_iso88591($string)   X-Ref
UTF-8 => ISO-8859-1

return: string
param: string $string

iconv_fallback_utf8_utf16be($string, $bom=false)   X-Ref
UTF-8 => UTF-16BE

return: string
param: string $string
param: bool   $bom

iconv_fallback_utf8_utf16le($string, $bom=false)   X-Ref
UTF-8 => UTF-16LE

return: string
param: string $string
param: bool   $bom

iconv_fallback_utf8_utf16($string)   X-Ref
UTF-8 => UTF-16LE (BOM)

return: string
param: string $string

iconv_fallback_utf16be_utf8($string)   X-Ref
UTF-16BE => UTF-8

return: string
param: string $string

iconv_fallback_utf16le_utf8($string)   X-Ref
UTF-16LE => UTF-8

return: string
param: string $string

iconv_fallback_utf16be_iso88591($string)   X-Ref
UTF-16BE => ISO-8859-1

return: string
param: string $string

iconv_fallback_utf16le_iso88591($string)   X-Ref
UTF-16LE => ISO-8859-1

return: string
param: string $string

iconv_fallback_utf16_iso88591($string)   X-Ref
UTF-16 (BOM) => ISO-8859-1

return: string
param: string $string

iconv_fallback_utf16_utf8($string)   X-Ref
UTF-16 (BOM) => UTF-8

return: string
param: string $string

iconv_fallback($in_charset, $out_charset, $string)   X-Ref

return: string
param: string $in_charset
param: string $out_charset
param: string $string

recursiveMultiByteCharString2HTML($data, $charset='ISO-8859-1')   X-Ref

return: mixed
param: mixed  $data
param: string $charset

MultiByteCharString2HTML($string, $charset='ISO-8859-1')   X-Ref

return: string
param: string|int|float $string
param: string           $charset

RGADnameLookup($namecode)   X-Ref

return: string
param: int $namecode

RGADoriginatorLookup($originatorcode)   X-Ref

return: string
param: int $originatorcode

RGADadjustmentLookup($rawadjustment, $signbit)   X-Ref

return: float
param: int $rawadjustment
param: int $signbit

RGADgainString($namecode, $originatorcode, $replaygain)   X-Ref

return: string
param: int $namecode
param: int $originatorcode
param: int $replaygain

RGADamplitude2dB($amplitude)   X-Ref

return: float
param: float $amplitude

GetDataImageSize($imgData, &$imageinfo=array()   X-Ref

return: array|false
param: string $imgData
param: array  $imageinfo

ImageExtFromMime($mime_type)   X-Ref

return: string
param: string $mime_type

CopyTagsToComments(&$ThisFileInfo, $option_tags_html=true)   X-Ref

return: bool
param: array $ThisFileInfo
param: bool  $option_tags_html default true (just as in the main getID3 class)

EmbeddedLookup($key, $begin, $end, $file, $name)   X-Ref

return: string
param: string $key
param: int    $begin
param: int    $end
param: string $file
param: string $name

IncludeDependency($filename, $sourcefile, $DieOnFailure=false)   X-Ref

return: bool
param: string $filename
param: string $sourcefile
param: bool   $DieOnFailure

trimNullByte($string)   X-Ref

return: string
param: string $string

getFileSizeSyscall($path)   X-Ref

return: float|bool
param: string $path

truepath($filename)   X-Ref

return: string|false
param: string $filename

mb_basename($path, $suffix = '')   X-Ref
Workaround for Bug #37268 (https://bugs.php.net/bug.php?id=37268)

return: string
param: string $path A path.
param: string $suffix If the name component ends in suffix this will also be cut off.



Generated: Wed Oct 9 01:00:02 2024 Cross-referenced by PHPXref 0.7.1