MP3_Playlist
[ class tree: MP3_Playlist ] [ index: MP3_Playlist ] [ all elements ]

Class: MP3_Playlist_SQLite

Source Location: /MP3_Playlist-0.5.2/MP3/Playlist/SQLite.php

Class Overview

MP3_Playlist_Common
   |
   --MP3_Playlist_SQLite

Class MP3_Playlist_SMILL for generate and stores an sqlite based playlist.


Author(s):

Version:

  • Release: 0.5.2

Copyright:

  • 2004-2005 David Costa

Variables

Methods


Inherited Variables

Inherited Methods

Class: MP3_Playlist_Common

MP3_Playlist_Common::__construct()
Constructor
MP3_Playlist_Common::make()
Generates the playlist.
MP3_Playlist_Common::save()
Save the generates playlist into file.
MP3_Playlist_Common::send()
Send the generated playlist to browser direclty.
MP3_Playlist_Common::show()
Show the generated playlist result.

Class Details

[line 59]
Class MP3_Playlist_SMILL for generate and stores an sqlite based playlist.


[ Top ]


Class Variables

$columns = array(
        'fullpath'  => 'fullpath',
        'url'       => 'url',
        'title'     => 'title',
        'artist'    => 'artist',
        'album'     => 'album',
        'genre'     => 'genre'
    )

[line 85]

Default table columns.
  • Access: protected

Type:   array


[ Top ]

$isSaveable =  false

[line 73]

Force SQLite format is not saveable.
  • Access: protected

Type:   bool
Overrides:   Array


[ Top ]

$isSendable =  false

[line 79]

Force SQLite format is not sendable.
  • Access: protected

Type:   bool
Overrides:   Array


[ Top ]

$isViewable =  false

[line 67]

Force SQLite format is not viewable by browser.
  • Access: protected

Type:   bool
Overrides:   Array


[ Top ]



Method Detail

make   [line 114]

bool make( [array $params = array()])

Generate and stores an sqlite based playlist

Optionally creates a database and the table or can be set to add the extended playlist in an existing database and table.

  • Return: TRUE
  • Access: public

Overrides MP3_Playlist_Common::make() (Generates the playlist.)

Parameters:

array   $params   —  Make parameters.
 db           string  SQLite database name
 table        string  SQLite database table name
 maketable    bool    (optional) Should the table be created or not,
                                 default is TRUE
 columns      array   (optional) Define the 6 column names yourself.

[ Top ]


Documentation generated on Mon, 11 Mar 2019 15:39:05 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.