Class: I2CE Odf (4.1.6)
From IHRIS Wiki
For other versions, see Class: I2CE_Odf (versions) .
This article describes the class I2CE_Odf .
- Extends the class: Odf.
- Location: Part of the module PrintedFormsODT in the package I2CE 4.1.6-release
- Source: Defined in the file modules/Forms/modules/PrintedForms/modules/PrintedFormODT/lib/I2CE_Odf.php on line 33
- Author: Carl Leitner <litlfred@ibiblio.org>
- Since: v4.0.4
@filesource Class I2CE_PrintedForm_Render
Variables
$image_blobs
- Defined in i2ce/modules/Forms/modules/PrintedForms/modules/PrintedFormODT/lib/I2CE_Odf.php on line 167
- Type: protected $image_blobs
Methods
__construct()
Class constructor
- Defined in i2ce/modules/Forms/modules/PrintedForms/modules/PrintedFormODT/lib/I2CE_Odf.php on line 42
- Signature: public function __construct($file,$config)
- Parameters:
- string $file
the name of the odt file or a resource @throws OdfException - $config
- Default Value: array()
- string $file
_save()
Internal save @throws OdfException
- Defined in i2ce/modules/Forms/modules/PrintedForms/modules/PrintedFormODT/lib/I2CE_Odf.php on line 177
- Signature: protected function _save()
- Returns: void
addImageBlob()
- Defined in i2ce/modules/Forms/modules/PrintedForms/modules/PrintedFormODT/lib/I2CE_Odf.php on line 163
- Signature: public function addImageBlob($filename,$value)
- Parameters:
- $filename
- $value
addImageToManifest()
Update Manifest file according to added image files
- Defined in i2ce/modules/Forms/modules/PrintedForms/modules/PrintedFormODT/lib/I2CE_Odf.php on line 205
- Signature: public function addImageToManifest($file)
- Parameters:
- string $file
Image file to add into manifest content
- string $file
setField()
- Defined in i2ce/modules/Forms/modules/PrintedForms/modules/PrintedFormODT/lib/I2CE_Odf.php on line 53
- Signature: public function setField($key,$fieldObj,$extra)
- Parameters:
- $key
- $fieldObj
- $extra
- Default Value: array()
setImageFromField()
Assign a template variable as a picture @param string $value path to the picture @throws OdfException
- Defined in i2ce/modules/Forms/modules/PrintedForms/modules/PrintedFormODT/lib/I2CE_Odf.php on line 96
- Signature: protected function setImageFromField($key,$fieldObj,$extra)
- Parameters:
- string $key
name of the variable within the template - $fieldObj
- $extra
- Default Value: array()
- string $key
- Returns: odf
setSegment()
Declare a segment in order to use it in a loop
- Defined in i2ce/modules/Forms/modules/PrintedForms/modules/PrintedFormODT/lib/I2CE_Odf.php on line 73
- Signature: public function setSegment($segment)
- Parameters:
- string $segment @throws OdfException
- Returns: Segment