ZenphotoCMS 1.6.5

getid3_id3v1 extends getid3_handler
in package

Table of Contents

Properties

$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.
ArrayOfGenres()  : array<string|int, string>
cutfield()  : string
GenerateID3v1Tag()  : string
LookupGenreID()  : string|false
LookupGenreName()  : string|false
saveAttachment()  : string|null
setStringMode()  : mixed
StandardiseID3v1GenreName()  : string|false
error()  : bool
feof()  : bool
fgets()  : string|false
fread()  : string|false
fseek()  : int
ftell()  : int|bool
isDependencyFor()  : bool
notice()  : mixed
warning()  : bool

Properties

$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

$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
bool

AnalyzeString()

Analyze from string instead.

public AnalyzeString(string $string) : mixed
Parameters
$string : string

ArrayOfGenres()

public static ArrayOfGenres([bool $allowSCMPXextended = false ]) : array<string|int, string>
Parameters
$allowSCMPXextended : bool = false
Return values
array<string|int, string>

cutfield()

public static cutfield(string $str) : string
Parameters
$str : string
Return values
string

GenerateID3v1Tag()

public static GenerateID3v1Tag(string $title, string $artist, string $album, string $year, int $genreid, string $comment[, int|string $track = '' ]) : string
Parameters
$title : string
$artist : string
$album : string
$year : string
$genreid : int
$comment : string
$track : int|string = ''
Return values
string

LookupGenreID()

public static LookupGenreID(string $genre[, bool $allowSCMPXextended = false ]) : string|false
Parameters
$genre : string
$allowSCMPXextended : bool = false
Return values
string|false

LookupGenreName()

public static LookupGenreName(string $genreid[, bool $allowSCMPXextended = true ]) : string|false
Parameters
$genreid : string
$allowSCMPXextended : bool = true
Return values
string|false

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
throws
Exception
throws
getid3_exception
Return values
string|null

setStringMode()

public setStringMode(string $string) : mixed
Parameters
$string : string

StandardiseID3v1GenreName()

public static StandardiseID3v1GenreName(string $OriginalGenre) : string|false
Parameters
$OriginalGenre : string
Return values
string|false

error()

protected error(string $text) : bool
Parameters
$text : string
Return values
bool

feof()

protected feof() : bool
Tags
phpstan-impure
Return values
bool

fgets()

protected fgets() : string|false
Tags
phpstan-impure
throws
getid3_exception
Return values
string|false

fread()

protected fread(int $bytes) : string|false
Parameters
$bytes : int
Tags
phpstan-impure
throws
getid3_exception
Return values
string|false

fseek()

protected fseek(int $bytes[, int $whence = SEEK_SET ]) : int
Parameters
$bytes : int
$whence : int = SEEK_SET
Tags
phpstan-impure
throws
getid3_exception
Return values
int

ftell()

protected ftell() : int|bool
Tags
phpstan-impure
Return values
int|bool

isDependencyFor()

protected final isDependencyFor(string $module) : bool
Parameters
$module : string
Return values
bool

notice()

protected notice(string $text) : mixed
Parameters
$text : string

warning()

protected warning(string $text) : bool
Parameters
$text : string
Return values
bool

        
On this page

Search results