VideosModelVideo Class Reference

Public Member Functions

 __construct ()
 setId ($id)
getData ()
getFileNames ()
 store ()
 delete ()

Data Fields

 $_data

Detailed Description

the model class for a single video.

Author:
MasterSoft Software Solutions Ltd.

Constructor & Destructor Documentation

__construct (  ) 

Constructor that retrieves the ID from the request

Returns:
void

Member Function Documentation

delete (  ) 

Method to delete video(s)

Returns:
string a success or error message
& getData (  ) 

Method to get a video

Returns:
the data array
& getFileNames (  ) 

returns an array with all file names and ids of the flash,quicktime and thumb files

Returns:
array:
setId ( id  ) 

Method to set the video identifier

Parameters:
int video identifier
Returns:
void
store (  ) 

Method to store a video

Returns:
string a success or an error message

Field Documentation

$_data

The documentation for this class was generated from the following file:

Generated on Wed Oct 14 18:04:49 2009 for MasterSoft Video Player for Joomla 1.5 by  doxygen 1.6.1