Class CloudwordsFile

Description

Represents the metadata around a file stored in Cloudwords. The type of file could be the source content for a project, the reference material for a project, etc.

Located in /cloudwords_api.php (line 490)


	
			
Method Summary
CloudwordsFile __construct (array $params)
void getContentPath ()
void getCreatedDate ()
void getFileContents ()
void getFilename ()
void getId ()
void getLang ()
void getPath ()
void setContentPath ( $contentPath)
void setCreatedDate ( $createdDate)
void setFileContents ( $fileContents)
void setFilename ( $filename)
void setId ( $id)
void setLang ( $lang)
void setPath ( $path)
void setSizeInKilobytes ( $sizeInKilobytes)
Methods
Constructor __construct (line 515)

Constructor used to create a Cloudwords file resource

  • id: int The file resource id
  • filename: string The filename of the file resource
  • lang: array The language of the file resource that contains a display name and language code
  • contentPath: string The content path to the file resource
  • sizeInKilobytes: int The file resource size in kilobytes
  • fileContents: string The file contents containing within the file resource
  • createdDate: string The file resource created date
  • path: string The api url to retrieve file resource metadata

  • access: public
CloudwordsFile __construct (array $params)
  • array $params: The parameters used to initialize a project instance
getContentPath (line 566)
  • access: public
void getContentPath ()
getCreatedDate (line 590)
  • access: public
void getCreatedDate ()
getFileContents (line 582)
  • access: public
void getFileContents ()
getFilename (line 550)
  • access: public
void getFilename ()
getId (line 542)
  • access: public
void getId ()
getLang (line 558)
  • access: public
void getLang ()
getPath (line 598)
  • access: public
void getPath ()
getSizeInKilobytes (line 574)
  • access: public
void getSizeInKilobytes ()
setContentPath (line 570)
  • access: public
void setContentPath ( $contentPath)
  • $contentPath
setCreatedDate (line 594)
  • access: public
void setCreatedDate ( $createdDate)
  • $createdDate
setFileContents (line 586)
  • access: public
void setFileContents ( $fileContents)
  • $fileContents
setFilename (line 554)
  • access: public
void setFilename ( $filename)
  • $filename
setId (line 546)
  • access: public
void setId ( $id)
  • $id
setLang (line 562)
  • access: public
void setLang ( $lang)
  • $lang
setPath (line 602)
  • access: public
void setPath ( $path)
  • $path
setSizeInKilobytes (line 578)
  • access: public
void setSizeInKilobytes ( $sizeInKilobytes)
  • $sizeInKilobytes

Documentation generated on Fri, 05 Aug 2011 11:54:18 -0700 by phpDocumentor 1.4.3