API documentation :: Docs For Class arbitSourceAnnotationFacade
Packages:Interfaces:
Classes:
|
Source::Facade::arbitSourceAnnotationFacadeInterface arbitSourceAnnotationFacadeAnnotattion facade implementing all methods to access annotations of the source backend. Annotattion facade implementing all methods to access annotations of the source backend.
Method Summary
MethodsattachFile
void
attachFile(
mixed
$id
, string
$fileName
, string
$mimeType
)
Attach file to annotation Attach a file to the annotation specified by its ID. given as a third parameter and should also be stored. Attach file to annotation Attach a file to the annotation specified by its ID. The files mime type is given as a third parameter and should also be stored. Parameters:
createAnnotation
mixed
createAnnotation(
$file
, int
$id
)
Create a new annotation Create a new annotation with the given ID. if there already is a annotation with the given ID. Create a new annotation Create a new annotation with the given ID. An exception will be thrown if there already is a annotation with the given ID. Parameters:
getAnnotationData
array
getAnnotationData(
mixed
$id
)
Get annotation data Get annotation data Get the data of a given annotation, the annotation data contains of the following fields:
Parameters:
getAnnotations
array
getAnnotations(
string
$file
)
Get annotations for file Return an array with all annotations for the given file. Get annotations for file Return an array with all annotations for the given file. Parameters:
getAnnotationsWithMessage
array
getAnnotationsWithMessage(
)
Get all annotations with messages Get annotation list from backend, which do have a message assigned. Get all annotations with messages Get annotation list from backend, which do have a message assigned. getFileContents
string
getFileContents(
mixed
$id
, string
$fileName
)
Get file contents Return the contents of the file specified by its storage file name. Get file contents Return the contents of the file specified by its storage file name. Parameters:
removeAllAnnotations
void
removeAllAnnotations(
)
Remove all annotations Remove all annotations from the source backend. Remove all annotations Remove all annotations from the source backend. updateAnnotationData
void
updateAnnotationData(
int
$id
,
$data
)
Update stored information for the given annotation The array with the information to update may any number of the common keys, and only the given keys will be updated in the storage backend. Update stored information for the given annotation The array with the information to update may any number of the common keys, and only the given keys will be updated in the storage backend. Parameters:
Documentation generated on Mon, 05 Apr 2010 14:01:32 +0200 by phpDocumentor 1.4.3
|