Class Index | File Index

Classes


Class FileAPI


Extends ContentObjectAPI, TagContainerAPI.

Defined in: file.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Field Summary
Field Attributes Field Name and Description
<static>  
FileAPI.WRITEABLE_PROPS
Method Summary
Method Attributes Method Name and Description
<static>  
FileAPI.binURL()
Retrieve the URL of this file's binary contents.
Class Detail
FileAPI()
Field Detail
<static> {Writable properties for the page object.} FileAPI.WRITEABLE_PROPS
Method Detail
<static> {string} FileAPI.binURL()
Retrieve the URL of this file's binary contents. You can use this to download the file from the server or to display an image. WARNING! Never ever store this URL in a page for users to load an image or to provide a download link. You should always refer to published files from the backend. Referencing a file directly using this link will put heavy load on you Gentics Content.Node CMS Server.
Returns:
{string} Source URL of this file.

Documentation generated by JsDoc Toolkit 2.3.2 on Wed Jun 27 2012 18:15:21 GMT+0200 (CEST)