PHP 클래스 OEModule\OphCoCvi\models\Element_OphCoCvi_ConsentSignature

상속: extends BaseEventTypeElement
파일 보기 프로젝트 열기: openeyes/openeyes

공개 메소드들

메소드 설명
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() 공개 메소드

tableName() 공개 메소드

public tableName ( ) : string
리턴 string the associated database table name