Exponent v2.7.2

upgrade_mediaplayer extends upgradescript
in package

This is the class upgrade_mediaplayer

Tags
subpackage

Upgrade

Table of Contents

$optional  : mixed
$priority  : mixed
$from_version  : mixed
$to_version  : mixed
checkVersion()  : bool
This routine should simply test version number (upgrade script requirements vs database version) to see if upgrade script should be run
description()  : string
generic description of upgrade script
name()  : string
name/title of upgrade script
needed()  : bool
This routine should perform additional test(s) to see if upgrade script should be run (files/tables exist, etc...)
prioritize()  : bool
Comparison function to prioritize upgrade scripts
upgrade()  : string
Converts all Flowplayer and YouTube modules/items into Media Player modules/items and deletes Flowplayer and YouTube files based on script priority, the permissions, container references, etc... should've already been upgraded to v2.2

Properties

Methods

checkVersion()

This routine should simply test version number (upgrade script requirements vs database version) to see if upgrade script should be run

public checkVersion(object $version) : bool
Parameters
$version : object
Return values
bool

description()

generic description of upgrade script

public description() : string
Return values
string

name()

name/title of upgrade script

public static name() : string
Return values
string

needed()

This routine should perform additional test(s) to see if upgrade script should be run (files/tables exist, etc...)

public needed() : bool
Return values
bool

prioritize()

Comparison function to prioritize upgrade scripts

public static prioritize( $a,  $b) : bool
Parameters
$a :
$b :
Return values
bool

upgrade()

Converts all Flowplayer and YouTube modules/items into Media Player modules/items and deletes Flowplayer and YouTube files based on script priority, the permissions, container references, etc... should've already been upgraded to v2.2

public upgrade() : string
Return values
string

Search results