SnapContentMediaFile Class Reference
[Content Modules]

Content Module for any Media File. More...

Inheritance diagram for SnapContentMediaFile:

Inheritance graph
[legend]

List of all members.

Public Member Functions

 checkMedia ()
 INSERT BRIEF DESCRIPTION HERE.
 getFileSuffix ()
 INSERT BRIEF DESCRIPTION HERE.
 getPath ()
 INSERT BRIEF DESCRIPTION HERE.
 getSize ()
 INSERT BRIEF DESCRIPTION HERE.
 getURL ()
 INSERT BRIEF DESCRIPTION HERE.
 updateFileList ()
 INSERT BRIEF DESCRIPTION HERE.
 uploadFile ($tmpFile, $fileName)
 Uploads a file to this content module.


Detailed Description

Content Module for any Media File.

This class allows you to upload any media file, though if the file can be supported by a different media module it is probably a better idea to use that one.


Member Function Documentation

SnapContentMediaFile::checkMedia (  ) 

INSERT BRIEF DESCRIPTION HERE.

INSERT FULL DESCRIPTION HERE

Returns:
[TYPE]: RETURN DESCRIPTION

Reimplemented from SnapContent.

SnapContentMediaFile::getFileSuffix (  ) 

INSERT BRIEF DESCRIPTION HERE.

INSERT FULL DESCRIPTION HERE

Returns:
[TYPE]: RETURN DESCRIPTION

SnapContentMediaFile::getPath (  ) 

INSERT BRIEF DESCRIPTION HERE.

INSERT FULL DESCRIPTION HERE

Returns:
[TYPE]: RETURN DESCRIPTION

SnapContentMediaFile::getSize (  ) 

INSERT BRIEF DESCRIPTION HERE.

INSERT FULL DESCRIPTION HERE

Returns:
[TYPE]: RETURN DESCRIPTION

SnapContentMediaFile::getURL (  ) 

INSERT BRIEF DESCRIPTION HERE.

INSERT FULL DESCRIPTION HERE

Returns:
[TYPE]: RETURN DESCRIPTION

SnapContentMediaFile::updateFileList (  ) 

INSERT BRIEF DESCRIPTION HERE.

INSERT FULL DESCRIPTION HERE

Returns:
[TYPE]: RETURN DESCRIPTION

Reimplemented from SnapContent.

SnapContentMediaFile::uploadFile ( tmpFile,
fileName 
)

Uploads a file to this content module.

Parameters:
$tmpFile [string]: The path to the file as it is currently stored
$fileName [string]: The name of the new file (path not included)
Returns:
[boolean]: success or failure.


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

Generated on Wed Nov 24 02:03:12 2010 for Common by  doxygen 1.5.6