SnapContentMediaDocument Class Reference
[Content Modules]

Content Module for Documents. More...

Inheritance diagram for SnapContentMediaDocument:

Inheritance graph
[legend]

List of all members.

Public Member Functions

 checkMedia ()
 Revalidates the document The document should have validated on upload anyway, but this function will validate everything again.
 getDocumentSuffix ()
 INSERT BRIEF DESCRIPTION HERE.
 getDocumentType ()
 INSERT BRIEF DESCRIPTION HERE.
 getPath ()
 INSERT BRIEF DESCRIPTION HERE.
 getSize ()
 INSERT BRIEF DESCRIPTION HERE.
 getURL ()
 INSERT BRIEF DESCRIPTION HERE.
 updateFileList ()
 INSERT BRIEF DESCRIPTION HERE.
 uploadDocument ($tmpFile, $fileName)
 Uploads a document to this content module.


Detailed Description

Content Module for Documents.

Supported Doctupes include: Microsoft Word 97/2000/XP/2003 Document Micrsoft Word 2007/2008 Document Adobe PDF Document Text File


Member Function Documentation

SnapContentMediaDocument::checkMedia (  ) 

Revalidates the document The document should have validated on upload anyway, but this function will validate everything again.

Returns:
[boolean]: success or failure.

Reimplemented from SnapContent.

SnapContentMediaDocument::getDocumentSuffix (  ) 

INSERT BRIEF DESCRIPTION HERE.

INSERT FULL DESCRIPTION HERE

Returns:
[TYPE]: RETURN DESCRIPTION

SnapContentMediaDocument::getDocumentType (  ) 

INSERT BRIEF DESCRIPTION HERE.

INSERT FULL DESCRIPTION HERE

Returns:
[TYPE]: RETURN DESCRIPTION

SnapContentMediaDocument::getPath (  ) 

INSERT BRIEF DESCRIPTION HERE.

INSERT FULL DESCRIPTION HERE

Returns:
[TYPE]: RETURN DESCRIPTION

SnapContentMediaDocument::getSize (  ) 

INSERT BRIEF DESCRIPTION HERE.

INSERT FULL DESCRIPTION HERE

Returns:
[TYPE]: RETURN DESCRIPTION

SnapContentMediaDocument::getURL (  ) 

INSERT BRIEF DESCRIPTION HERE.

INSERT FULL DESCRIPTION HERE

Returns:
[TYPE]: RETURN DESCRIPTION

SnapContentMediaDocument::updateFileList (  ) 

INSERT BRIEF DESCRIPTION HERE.

INSERT FULL DESCRIPTION HERE

Returns:
[TYPE]: RETURN DESCRIPTION

Reimplemented from SnapContent.

SnapContentMediaDocument::uploadDocument ( tmpFile,
fileName 
)

Uploads a document 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