kaolak : documentation previous | next | table of contents 


3.4 Documents
Additionally to their node properties, documents have :
  • mime_type (int)
  • path (string)
  • description (string)
  • elements (int[])
By default documents are created with read and write access from all users. Permissions can then be set in the GUI by the document's creator, the branch's admin and kaolak's superuser.

mime_type

The document's mime type - see 2.5 API class Mime_type

path

Full path to the document relative to the host's document root. Defaults to /kaolak/branches/branchName/documents/document_id/documentName

elements

Ids of the documents included in the document when document is composite (eg type html)

 previous | next | table of contents