Class: I2CE FormField PASSPORT (Development)

From IHRIS Wiki


This article describes the class I2CE_FormField_PASSPORT .

Class defining the passport field.

Methods

imageToPassport()

Resizes the image to a passport size specified

imagecreatefrombmp()

.bmp is just hex encoded RGB values. All you need to do is open in binary mode and seperate the header from the body. Decode the width and height from the header. Then create the image pixel by pixel from the RGB values in the body. source: http://www.php.net/manual/en/function.imagecreatefromwbmp.php

setFromData()

Sets the value of this field from the posted form. @param mixed $post

Inherited Methods

getDisplayNode()

This public method is inherited from I2CE_FormField_IMAGE->getDisplayNode()

getImageHeight()

This public method is inherited from I2CE_FormField_IMAGE->getImageHeight()

getImageResource()

This public method is inherited from I2CE_FormField_IMAGE->getImageResource()

getImageWidth()

This public method is inherited from I2CE_FormField_IMAGE->getImageWidth()

isValidMimeType()

This public method is inherited from I2CE_FormField_IMAGE->isValidMimeType()

processDOMEditable()

This public method is inherited from I2CE_FormField_IMAGE->processDOMEditable()

setFromDB()

This public method is inherited from I2CE_FormField_IMAGE->setFromDB()

setFromResource()

This public method is inherited from I2CE_FormField_IMAGE->setFromResource()

createImageResource()

This protected method is inherited from I2CE_FormField_IMAGE->createImageResource()

defaultExtension()

This protected method is inherited from I2CE_FormField_IMAGE->defaultExtension()

defaultMimeType()

This protected method is inherited from I2CE_FormField_IMAGE->defaultMimeType()

__construct()

This public method is inherited from I2CE_FormField_BINARY_FILE->__construct()

getBinaryData()

This public method is inherited from I2CE_FormField_BINARY_FILE->getBinaryData()

getContentLength()

This public method is inherited from I2CE_FormField_BINARY_FILE->getContentLength()

getDBValue()

This public method is inherited from I2CE_FormField_BINARY_FILE->getDBValue()

getDisplayValue()

This public method is inherited from I2CE_FormField_BINARY_FILE->getDisplayValue()

getExtension()

This public method is inherited from I2CE_FormField_BINARY_FILE->getExtension()

getFieldLink()

This public method is inherited from I2CE_FormField_BINARY_FILE->getFieldLink()

getFileName()

This public method is inherited from I2CE_FormField_BINARY_FILE->getFileName()

getHeaders()

This public method is inherited from I2CE_FormField_BINARY_FILE->getHeaders()

getMetaValue()

This public method is inherited from I2CE_FormField_BINARY_FILE->getMetaValue()

getMimeType()

This public method is inherited from I2CE_FormField_BINARY_FILE->getMimeType()

getModTime()

This public method is inherited from I2CE_FormField_BINARY_FILE->getModTime()

getValue()

This public method is inherited from I2CE_FormField_BINARY_FILE->getValue()

isTooBig()

This public method is inherited from I2CE_FormField_BINARY_FILE->isTooBig()

isValid()

This public method is inherited from I2CE_FormField_BINARY_FILE->isValid()

processDOMNotEditable()

This public method is inherited from I2CE_FormField_BINARY_FILE->processDOMNotEditable()

setFromPost()

This public method is inherited from I2CE_FormField_BINARY_FILE->setFromPost()

getLink()

This protected method is inherited from I2CE_FormField_BINARY_FILE->getLink()

getTmpFileKeyValue()

This protected method is inherited from I2CE_FormField_BINARY_FILE->getTmpFileKeyValue()

hasTmpFileKey()

This protected method is inherited from I2CE_FormField_BINARY_FILE->hasTmpFileKey()

setFromTemporaryLocation()

This public method is inherited from I2CE_FormField_STORE_BINARY_FILE->setFromTemporaryLocation()

setFromTemporaryTable()

This public method is inherited from I2CE_FormField_STORE_BINARY_FILE->setFromTemporaryTable()

setTempKey()

This public method is inherited from I2CE_FormField_STORE_BINARY_FILE->setTempKey()

storeInTemporaryLocation()

This public method is inherited from I2CE_FormField_STORE_BINARY_FILE->storeInTemporaryLocation()

storeInTemporaryTable()

This public method is inherited from I2CE_FormField_STORE_BINARY_FILE->storeInTemporaryTable()

save()

This public method is inherited from I2CE_FormField_STORE_BINARY_FILE->save()

setFromTemporaryFile()

This public method is inherited from I2CE_FormField_STORE_BINARY_FILE->setFromTemporaryFile()

setupStorageFile()

This public method is inherited from I2CE_FormField_STORE_BINARY_FILE->setupStorageFile()

setupTemporaryDirectory()

This public method is inherited from I2CE_FormField_STORE_BINARY_FILE->setupTemporaryDirectory()

storeInTemporaryFile()

This public method is inherited from I2CE_FormField_STORE_BINARY_FILE->storeInTemporaryFile()

setFromPostUpload()

This protected method is inherited from I2CE_FormField_STORE_BINARY_FILE->setFromPostUpload()

setValueFromTempFile()

This protected method is inherited from I2CE_FormField_STORE_BINARY_FILE->setValueFromTempFile()

getStorageFile()

This protected method is inherited from I2CE_FormField_STORE_BINARY_FILE->getStorageFile()

Inherited Variables

$image_rsrc

Theis protected variable is inherited from I2CE_FormField_IMAGE->$image_rsrc

$mime_type

Theis protected variable is inherited from I2CE_FormField_BINARY_FILE->$mime_type

$null_term

Theis protected variable is inherited from I2CE_FormField_BINARY_FILE->$null_term

$file_name

Theis protected variable is inherited from I2CE_FormField_BINARY_FILE->$file_name

$fmod_time

Theis protected variable is inherited from I2CE_FormField_BINARY_FILE->$fmod_time

$keys

Theis protected variable is inherited from I2CE_FormField_BINARY_FILE->$keys

$tmp_key

Theis protected variable is inherited from I2CE_FormField_STORE_BINARY_FILE->$tmp_key

$setStmt

Theis protected variable is inherited from I2CE_FormField_STORE_BINARY_FILE->$setStmt

$storeStmt

Theis protected variable is inherited from I2CE_FormField_STORE_BINARY_FILE->$storeStmt

$temp_file

Theis protected variable is inherited from I2CE_FormField_STORE_BINARY_FILE->$temp_file