id3_get_frame_short_name

(PECL id3 >= 0.2)
Get the short name of an ID3v2 frame
string id3_get_frame_short_name ( string $frameId )

id3_get_frame_short_name() returns the short name for an ID3v2 frame.

Parameters:
frameId

An ID3v2 frame

Returns:

Returns the frame short name or FALSE on errors.

The values returned by id3_get_frame_short_name() are used in the array returned by id3_get_tag().

Examples:
id3_get_frame_short_name() example
<?php
$shortName = id3_get_frame_short_name("TOLY");
echo $shortName;
?>

The above example will output:

originalLyricist
See also:

id3_get_frame_long_name() -

doc_php
2016-02-24 15:54:19
Comments
Leave a Comment

Please login to continue.