Web Marketing Tool
Reseller
WMT .
Music
Referred By: Web Marketing Tool
Login

Music



Extends: AbstractAccess


Music PHP Methods

canAlbumAssign(\WMT\SQL\Music\AlbumAssign $albumAssign, \WMT\Action\AdminPage $adminPage) v5

Checks if current logged in member can assign album
PARAMETERS:
$albumAssign = object
$adminPage = object
RETURN VALUE:
bool = true if the member can assign the album, false otherwise

canDownloadAlbum(\WMT\SQL\Visit\Visitor $visitor, \WMT\SQL\Music\Album $album) v5

Checks if a visitor can download an album
PARAMETERS:
$visitor = object
$album = object
RETURN VALUE:
bool = true if the visitor can download the album, false otherwise

canDownloadSong(\WMT\SQL\Visit\Visitor $visitor, \WMT\SQL\Music\Song $song) v5

Checks if a visitor can download a song
PARAMETERS:
$visitor = object
$song = object
RETURN VALUE:
bool = true if the visitor can download the song, false otherwise

canPlaylistAssign(\WMT\SQL\Music\PlaylistAssign $playlistAssign, \WMT\Action\AdminPage $adminPage) v5

Checks if current logged in member can assign playlist
PARAMETERS:
$playlistAssign = object
$adminPage = object
RETURN VALUE:
bool = true if the member can assign the playlist, false otherwise

checkAlbumAssign(\WMT\SQL\Music\AlbumAssign $albumAssign, \WMT\Action\AdminPage $adminPage) v5

Checks if current logged in member can assign album
PARAMETERS:
$albumAssign = object
$adminPage = object
RETURN VALUE:
throws an error if the member is not allowed to assign the album

checkPlaylistAssign(\WMT\SQL\Music\PlaylistAssign $playlistAssign, \WMT\Action\AdminPage $adminPage) v5

Checks if current logged in member can assign playlist
PARAMETERS:
$playlistAssign = object
$adminPage = object
RETURN VALUE:
throw an error if the member is not allowed to assign the playlist

getTable(string $query, string $trHTML) v5

Gets music admin pages access table from an HTML template
PARAMETERS:
$query = string, mysql query to load the records
$trHTML = string, HTML template for the table rows (record rows)
RETURN VALUE:
string = music admin pages access table from an HTML template

getTableAdminPage(string $query, \WMT\Container $container, string $content) v5

Gets music admin pages access table from an HTML template
PARAMETERS:
$query = string, mysql query to load the records
$container = object
$content = string, HTML template for the table rows (record rows)
RETURN VALUE:
string = music admin pages access table from an HTML template

__construct(\WMT\MySQL $mysqli) v5

construct method to load $mysqli object
PARAMETERS:
$mysqli = object
RETURN VALUE:
VOID

Music PHP Variables

🔎︎ %l4610%




DMCA.com Protection Status Authorize.net
Valid HTML! Valid CSS!


Reseller: WMT
|
Login
(502) 225-3237