DEPRECATION WARNING
This documentation is not using the current rendering mechanism and is probably outdated. The extension maintainer should switch to the new system. Details on how to use the rendering mechanism can be found here.
<template>¶
Tag | Data type | Description |
---|---|---|
template | Object | Creates a template object. |
loadTemplate | Default method | Loads the template file name. |
setTemplateDir | Method | Defines the root directory for the template. |
setCopyImageDir | Method | Defines the root directory for the copy of the image. |
copyImageInFile | Method | Copies the resulting image in a given file. |
<template [attribute]> ... </template>¶
- Description
- Creates a template object.
- Attribute
- id = "myTemplate" Optional attribute but it is requested when using reference to this object. The reference will be "myTemplate".
<loadTemplate attribute />¶
- Description
- Loads the template file name.
- Attribute
- file = "typo3conf/ext/sav_jpgraph/templates/polarex0.xml"
<setTemplateDir attribute />¶
- Description
- Defines the root directory for the template.
- Attribute
- dir = "PATH_site" Sets the root directory. Any defined php constant, in particular all TYPO3 path constants, will be interpreted.
<setCopyImageDir attribute />¶
- Description
- Defines the root directory for the copy of the image.
- Attribute
- dir = "PATH_site" Sets the root directory. Any defined php constant, in particular all TYPO3 path constants, will be interpreted.
<copyImageInFile attribute />¶
- Description
- Copies the resulting image in a given file.
- Attribute
- ref = "file#1" Sets the root directory. A string is expected, in general it is the reference to a file.
- file = "fileadmin/test.png" Destination file.