PHP Class OEModule\OphCoCvi\models\Element_OphCoCvi_ConsentSignature

Inheritance: extends BaseEventTypeElement
Afficher le fichier Open project: openeyes/openeyes

Méthodes publiques

Méthode Description
attributeLabels ( ) : array
checkSignature ( ) Checks if a patient signature file is already attached to the event
getDecryptedSignature ( ) : string
getEncryptionKey ( ) : string
getSignatureBox ( ) : resource
getStructuredDataForPrint ( ) Returns an associative array of the data values for printing
loadSignatureFromPortal ( ) : resource This will always return an image for use in the signature placeholder. It will first try to load the signature from the portal and otherwise will return the signature capture box.
model ( $className = __CLASS__ ) : the Returns the static model of the specified AR class.
relations ( ) : array
rules ( ) : array
saveSignatureImageFromPortal ( ) : boolean
search ( ) : CActiveDataProvider Retrieves a list of models based on the current search/filter conditions.
tableName ( ) : string

Méthodes protégées

Méthode Description
afterSave ( )
decryptSignature ( $text, $key ) : string

Method Details

afterSave() protected méthode

protected afterSave ( )

attributeLabels() public méthode

public attributeLabels ( ) : array
Résultat array customized attribute labels (name=>label)

checkSignature() public méthode

Checks if a patient signature file is already attached to the event
public checkSignature ( )

decryptSignature() protected méthode

protected decryptSignature ( $text, $key ) : string
$text
$key
Résultat string

getDecryptedSignature() public méthode

public getDecryptedSignature ( ) : string
Résultat string

getEncryptionKey() public méthode

public getEncryptionKey ( ) : string
Résultat string

getSignatureBox() public méthode

public getSignatureBox ( ) : resource
Résultat resource

getStructuredDataForPrint() public méthode

Returns an associative array of the data values for printing

loadSignatureFromPortal() public méthode

This should be used with caution as it will not respect a signature having been deleted on the server side, but remaining on the portal.
public loadSignatureFromPortal ( ) : resource
Résultat resource

model() public static méthode

Returns the static model of the specified AR class.
public static model ( $className = __CLASS__ ) : the
Résultat the static model class

relations() public méthode

public relations ( ) : array
Résultat array relational rules.

rules() public méthode

public rules ( ) : array
Résultat array validation rules for model attributes.

saveSignatureImageFromPortal() public méthode

tableName() public méthode

public tableName ( ) : string
Résultat string the associated database table name