PHP Класс OEModule\OphCoCvi\models\Element_OphCoCvi_ConsentSignature

Наследование: extends BaseEventTypeElement
Показать файл Открыть проект

Открытые методы

Метод Описание
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

Защищенные методы

Метод Описание
afterSave ( )
decryptSignature ( $text, $key ) : string

Описание методов

afterSave() защищенный Метод

protected afterSave ( )

attributeLabels() публичный Метод

public attributeLabels ( ) : array
Результат array customized attribute labels (name=>label)

checkSignature() публичный Метод

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

decryptSignature() защищенный Метод

protected decryptSignature ( $text, $key ) : string
$text
$key
Результат string

getDecryptedSignature() публичный Метод

public getDecryptedSignature ( ) : string
Результат string

getEncryptionKey() публичный Метод

public getEncryptionKey ( ) : string
Результат string

getSignatureBox() публичный Метод

public getSignatureBox ( ) : resource
Результат resource

getStructuredDataForPrint() публичный Метод

Returns an associative array of the data values for printing

loadSignatureFromPortal() публичный Метод

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
Результат resource

model() публичный статический Метод

Returns the static model of the specified AR class.
public static model ( $className = __CLASS__ ) : the
Результат the static model class

relations() публичный Метод

public relations ( ) : array
Результат array relational rules.

rules() публичный Метод

public rules ( ) : array
Результат array validation rules for model attributes.

saveSignatureImageFromPortal() публичный Метод

public saveSignatureImageFromPortal ( ) : boolean
Результат boolean

tableName() публичный Метод

public tableName ( ) : string
Результат string the associated database table name