PHP 클래스 Pimcore\Model\Object\ClassDefinition\Data\Password

상속: extends Pimcore\Model\Object\ClassDefinition\Data
파일 보기 프로젝트 열기: pimcore/pimcore

공개 프로퍼티들

프로퍼티 타입 설명
$algorithm string
$columnType string Type for the column
$fieldtype string Static type of this element
$phpdocType string Type for the generated phpdoc
$queryColumnType string Type for the column to query
$salt string
$saltlocation string
$width integer

공개 메소드들

메소드 설명
calculateHash ( $data ) : boolean | null | string Calculate hash according to configured parameters
getAlgorithm ( ) : string
getDataForEditmode ( string $data, null | AbstractObject $object = null, mixed $params = [] ) : string
getDataForGrid ( $data, $object, $params = [] )
getDataForQueryResource ( string $data, null | AbstractObject $object = null, mixed $params = [] ) : string
getDataForResource ( string $data, null | AbstractObject $object = null, mixed $params = [] ) : string
getDataFromEditmode ( string $data, null | AbstractObject $object = null, mixed $params = [] ) : string
getDataFromResource ( string $data, null | AbstractObject $object = null, mixed $params = [] ) : string
getDiffDataForEditMode ( mixed $data, null $object = null, mixed $params = [] ) : array | null See parent class.
getDiffDataFromEditmode ( $data, null $object = null, mixed $params = [] ) : null | Pimcore_Date See parent class.
getForWebserviceExport ( string $object, mixed $params = [] ) : mixed converts data to be exposed via webservices
getFromCsvImport ( string $importValue, null | AbstractObject $object = null, mixed $params = [] ) : Data fills object field data values from CSV Import String
getSalt ( ) : string
getSaltlocation ( ) : string
getVersionPreview ( string $data, null | AbstractObject $object = null, mixed $params = [] ) : string
getWidth ( ) : integer
isDiffChangeAllowed ( string $object, mixed $params = [] ) : boolean True if change is allowed in edit mode.
setAlgorithm ( string $algorithm )
setSalt ( string $salt )
setSaltlocation ( string $saltlocation )
setWidth ( integer $width )
synchronizeWithMasterDefinition ( Data $masterDefinition )
verifyPassword ( $password, AbstractObject $object, boolean | true $updateHash = true ) : boolean Verify password. Optionally re-hash the password if needed.

메소드 상세

calculateHash() 공개 메소드

Calculate hash according to configured parameters
public calculateHash ( $data ) : boolean | null | string
$data
리턴 boolean | null | string

getAlgorithm() 공개 메소드

public getAlgorithm ( ) : string
리턴 string

getDataForEditmode() 공개 메소드

또한 보기: Object\ClassDefinition\Data::getDataForEditmode
public getDataForEditmode ( string $data, null | AbstractObject $object = null, mixed $params = [] ) : string
$data string
$object null | Pimcore\Model\Object\AbstractObject
$params mixed
리턴 string

getDataForGrid() 공개 메소드

public getDataForGrid ( $data, $object, $params = [] )

getDataForQueryResource() 공개 메소드

또한 보기: Object\ClassDefinition\Data::getDataForQueryResource
public getDataForQueryResource ( string $data, null | AbstractObject $object = null, mixed $params = [] ) : string
$data string
$object null | Pimcore\Model\Object\AbstractObject
$params mixed
리턴 string

getDataForResource() 공개 메소드

또한 보기: Object\ClassDefinition\Data::getDataForResource
public getDataForResource ( string $data, null | AbstractObject $object = null, mixed $params = [] ) : string
$data string
$object null | Pimcore\Model\Object\AbstractObject
$params mixed
리턴 string

getDataFromEditmode() 공개 메소드

또한 보기: Model\Object\ClassDefinition\Data::getDataFromEditmode
public getDataFromEditmode ( string $data, null | AbstractObject $object = null, mixed $params = [] ) : string
$data string
$object null | Pimcore\Model\Object\AbstractObject
$params mixed
리턴 string

getDataFromResource() 공개 메소드

또한 보기: Object\ClassDefinition\Data::getDataFromResource
public getDataFromResource ( string $data, null | AbstractObject $object = null, mixed $params = [] ) : string
$data string
$object null | Pimcore\Model\Object\AbstractObject
$params mixed
리턴 string

getDiffDataForEditMode() 공개 메소드

See parent class.
public getDiffDataForEditMode ( mixed $data, null $object = null, mixed $params = [] ) : array | null
$data mixed
$object null
$params mixed
리턴 array | null

getDiffDataFromEditmode() 공개 메소드

See parent class.
public getDiffDataFromEditmode ( $data, null $object = null, mixed $params = [] ) : null | Pimcore_Date
$data
$object null
$params mixed
리턴 null | Pimcore_Date

getForWebserviceExport() 공개 메소드

converts data to be exposed via webservices
public getForWebserviceExport ( string $object, mixed $params = [] ) : mixed
$object string
$params mixed
리턴 mixed

getFromCsvImport() 공개 메소드

fills object field data values from CSV Import String
public getFromCsvImport ( string $importValue, null | AbstractObject $object = null, mixed $params = [] ) : Data
$importValue string
$object null | Pimcore\Model\Object\AbstractObject
$params mixed
리턴 Pimcore\Model\Object\ClassDefinition\Data

getSalt() 공개 메소드

public getSalt ( ) : string
리턴 string

getSaltlocation() 공개 메소드

public getSaltlocation ( ) : string
리턴 string

getVersionPreview() 공개 메소드

또한 보기: Object\ClassDefinition\Data::getVersionPreview
public getVersionPreview ( string $data, null | AbstractObject $object = null, mixed $params = [] ) : string
$data string
$object null | Pimcore\Model\Object\AbstractObject
$params mixed
리턴 string

getWidth() 공개 메소드

public getWidth ( ) : integer
리턴 integer

isDiffChangeAllowed() 공개 메소드

True if change is allowed in edit mode.
public isDiffChangeAllowed ( string $object, mixed $params = [] ) : boolean
$object string
$params mixed
리턴 boolean

setAlgorithm() 공개 메소드

public setAlgorithm ( string $algorithm )
$algorithm string

setSalt() 공개 메소드

public setSalt ( string $salt )
$salt string

setSaltlocation() 공개 메소드

public setSaltlocation ( string $saltlocation )
$saltlocation string

setWidth() 공개 메소드

public setWidth ( integer $width )
$width integer

synchronizeWithMasterDefinition() 공개 메소드

public synchronizeWithMasterDefinition ( Data $masterDefinition )
$masterDefinition Pimcore\Model\Object\ClassDefinition\Data

verifyPassword() 공개 메소드

Re-hash will be performed if PHP's password_hash default params (algorithm, cost) differ from the ones which were used to create the hash (e.g. cost was increased from 10 to 12). In this case, the hash will be re-calculated with the new parameters and saved back to the object.
public verifyPassword ( $password, AbstractObject $object, boolean | true $updateHash = true ) : boolean
$password
$object Pimcore\Model\Object\AbstractObject
$updateHash boolean | true
리턴 boolean

프로퍼티 상세

$algorithm 공개적으로 프로퍼티

public string $algorithm
리턴 string

$columnType 공개적으로 프로퍼티

Type for the column
public string $columnType
리턴 string

$fieldtype 공개적으로 프로퍼티

Static type of this element
public string $fieldtype
리턴 string

$phpdocType 공개적으로 프로퍼티

Type for the generated phpdoc
public string $phpdocType
리턴 string

$queryColumnType 공개적으로 프로퍼티

Type for the column to query
public string $queryColumnType
리턴 string

$salt 공개적으로 프로퍼티

public string $salt
리턴 string

$saltlocation 공개적으로 프로퍼티

public string $saltlocation
리턴 string

$width 공개적으로 프로퍼티

public int $width
리턴 integer