Inheritance diagram for CAnnotationBase:

Public Member Functions | |
| CAnnotationBase () | |
| getTemplate ($tpl) | |
| setAPIPath ($path) | |
| getAPIPath () | |
| setAPIUrl ($url) | |
| getAPIUrl () | |
| getErrorDescription ($err_code) | |
| replaceAllLinks ($text, $isshort=1) | |
Public Attributes | |
| $api_path | |
| $api_url | |
| $ERROR_NONE = 0 | |
| $ERROR_NO_ANNOTATION = 1 | |
| $ERROR_NO_FONTFILE = 2 | |
| $ERROR_CREATING_IMAGE = 3 | |
| $ERROR_PARSING_XML = 4 | |
| $ERROR_NO_GD = 5 | |
| $ERROR_FILENOTFOUND = 6 | |
| $ERROR_NOTJPEG = 7 | |
| $ERROR_JPEGCORRUPTED = 8 | |
| $ERROR_NOHEADERS = 9 | |
| $ERROR_IMAGEDATA = 10 | |
| $ERROR_BIGSEGMENT = 11 | |
| $ERRORS | |
| $TEMPLATE_DISPLAY_SCRIPTS = 1 | |
| $TEMPLATE_DISPLAY_STYLES = 2 | |
| $TEMPLATE_DISPLAY_CONTAINER = 3 | |
| $TEMPLATE_EDITOR_SCRIPTS = 10 | |
| $TEMPLATE_EDITOR_STYLES = 11 | |
| $TEMPLATE_EDITOR_CONTAINER = 12 | |
| $TEMPLATE_EDITOR_TOOLBAR = 13 | |
| $TEMPLATES | |
Base class with common fucntions and constants
|
|
Initializing object. Error codes, template files etc |
|
|
Get current API local server path |
|
|
Get current API URL |
|
|
Get error description
|
|
|
Return requested template content
|
|
||||||||||||
|
Replace all links in string to a href
|
|
|
Set API local server path
|
|
|
Set API directory URL
|
|
|
Error while read image data from jpeg file |
|
|
Error creating image from file, probably the file does not exist |
|
|
No jpeg headers found |
|
|
File is not correct Jpeg file |
|
|
Annotations not found |
|
|
Font file not found |
|
|
Image functions not found, GD library requires |
|
|
Jpeg file probably corrupted |
|
|
No error |
|
|
IO operations cannot open file for read/write |
|
|
Error parsing XML, perhaps XML is damaged or contains errors |
|
|
Jpeg segment is too big to fit in headers |
|
|
Template constant for image and tags container file for CAnnotationDisplay class |
|
|
Template constant for JavaScripts file for CAnnotationDisplay class |
|
|
Template constant for CSS Styles file for CAnnotationDisplay class |
|
|
Template constant for image and tags container file for CAnnotationEditor class |
|
|
Template constant for JavaScripts file for CAnnotationEditor class |
|
|
Template constant for CSS Styles file for CAnnotationEditor class |
|
|
Template constant for toolbar file for CAnnotationDisplay class |
1.4.6-NO