PHP Class RTMediaTags, rtMedia

ファイルを表示 Open project: rtCamp/rtMedia Class Usage Examples

Public Methods

Method Description
__construct ( $file )
__get ( $key )
__set ( $key, $value )
id3 ( ) : object Initialize the getid3 class
save ( ) Writes data inside the files after manipulation, mainly mp3 files.
set_art ( $data, string $mime = 'jpeg', string $description = 'Description' ) Sets cover art for mp3 files
update_filepath ( $file )

Private Methods

Method Description
analyze ( ) Analyze file

Method Details

__construct() public method

public __construct ( $file )

__get() public method

public __get ( $key )

__set() public method

public __set ( $key, $value )

id3() public static method

Initialize the getid3 class
public static id3 ( ) : object
return object

save() public method

Writes data inside the files after manipulation, mainly mp3 files.
public save ( )

set_art() public method

Sets cover art for mp3 files
public set_art ( $data, string $mime = 'jpeg', string $description = 'Description' )
$data
$mime string
$description string

update_filepath() public method

public update_filepath ( $file )