PHP Class BPMediaImporter, rtMedia

Author: saurabh
Show file Open project: rtCamp/rtMedia Class Usage Examples

Public Properties

Property Type Description
$active
$import_steps

Public Methods

Method Description
__construct ( )
_active ( $path )
add_media ( $album_id, $title = '', $description = '', $filepath = '', $privacy, $author_id = false, $album_name = false )
cleanup ( $table, $directory )
create_album ( $album_name = '', $author_id = 1 )
delete ( $path )
file_array ( $filepath )
make_copy ( $filepath )
table_exists ( $table )

Method Details

__construct() public method

public __construct ( )

_active() static public method

static public _active ( $path )

add_media() static public method

static public add_media ( $album_id, $title = '', $description = '', $filepath = '', $privacy, $author_id = false, $album_name = false )

cleanup() static public method

static public cleanup ( $table, $directory )

create_album() public method

public create_album ( $album_name = '', $author_id = 1 )

delete() static public method

static public delete ( $path )

file_array() static public method

static public file_array ( $filepath )

make_copy() static public method

static public make_copy ( $filepath )

table_exists() static public method

static public table_exists ( $table )

Property Details

$active public property

public $active

$import_steps public property

public $import_steps