[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

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

part of getID3()                           //

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

Defines 1 class

getid3_lib:: (71 methods):
  PrintHexBytes()
  trunc()
  safe_inc()
  CastAsInt()
  intValueSupported()
  SafeDiv()
  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

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

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

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

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

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

CastAsInt($floatnum)   X-Ref

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

intValueSupported($num)   X-Ref

param: int $num
return: bool

SafeDiv($numerator, $denominator, $fallback = 0)   X-Ref
Perform a division, guarding against division by zero

param: float|int $numerator
param: float|int $denominator
param: float|int $fallback
return: float|int

DecimalizeFraction($fraction)   X-Ref

param: string $fraction
return: float

DecimalBinary2Float($binarynumerator)   X-Ref

param: string $binarynumerator
return: float

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

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

Float2BinaryDecimal($floatvalue)   X-Ref

param: float $floatvalue
return: string

Float2String($floatvalue, $bits)   X-Ref

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

LittleEndian2Float($byteword)   X-Ref

param: string $byteword
return: float|false

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

param: string $byteword
return: float|false

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

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

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

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

LittleEndian2Bin($byteword)   X-Ref

param: string $byteword
return: string

BigEndian2Bin($byteword)   X-Ref

param: string $byteword
return: string

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

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

Dec2Bin($number)   X-Ref

param: int $number
return: string

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

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

Bin2String($binstring)   X-Ref

param: string $binstring
return: string

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

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

array_merge_clobber($array1, $array2)   X-Ref

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

array_merge_noclobber($array1, $array2)   X-Ref

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

flipped_array_merge_noclobber($array1, $array2)   X-Ref

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

ksort_recursive(&$theArray)   X-Ref

param: array $theArray
return: bool

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

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

PlaytimeString($seconds)   X-Ref

param: int $seconds
return: string

DateMac2Unix($macdate)   X-Ref

param: int $macdate
return: int|float

FixedPoint8_8($rawdata)   X-Ref

param: string $rawdata
return: float

FixedPoint16_16($rawdata)   X-Ref

param: string $rawdata
return: float

FixedPoint2_30($rawdata)   X-Ref

param: string $rawdata
return: float

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

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

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

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

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

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

XML2array($XMLstring)   X-Ref

param: string $XMLstring
return: array|false

SimpleXMLelement2array($XMLobject)   X-Ref

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

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

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

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

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

iconv_fallback_int_utf8($charval)   X-Ref

param: int $charval
return: string

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

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

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

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

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

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

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

param: string $string
return: string

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

param: string $string
return: string

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

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

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

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

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

param: string $string
return: string

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

param: string $string
return: string

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

param: string $string
return: string

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

param: string $string
return: string

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

param: string $string
return: string

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

param: string $string
return: string

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

param: string $string
return: string

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

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

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

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

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

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

RGADnameLookup($namecode)   X-Ref

param: int $namecode
return: string

RGADoriginatorLookup($originatorcode)   X-Ref

param: int $originatorcode
return: string

RGADadjustmentLookup($rawadjustment, $signbit)   X-Ref

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

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

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

RGADamplitude2dB($amplitude)   X-Ref

param: float $amplitude
return: float

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

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

ImageExtFromMime($mime_type)   X-Ref

param: string $mime_type
return: string

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

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

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

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

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

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

trimNullByte($string)   X-Ref

param: string $string
return: string

getFileSizeSyscall($path)   X-Ref

param: string $path
return: float|bool

truepath($filename)   X-Ref

param: string $filename
return: string|false

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

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



Generated : Thu Nov 21 08:20:01 2024 Cross-referenced by PHPXref