PHP 클래스 Pimcore\Model\Object\QuantityValue\Unit

상속: extends Pimcore\Model\AbstractModel
파일 보기 프로젝트 열기: pimcore/pimcore 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$abbreviation string
$baseunit string
$conversionOffset double
$factor double
$group string
$id integer
$longname string
$reference string

공개 메소드들

메소드 설명
__toString ( )
create ( array $values = [] ) : Unit
delete ( ) : void
getAbbreviation ( )
getBaseunit ( )
getByAbbreviation ( string $abbreviation ) : Unit
getById ( string $id ) : Unit
getByReference ( string $reference ) : Unit
getConversionOffset ( ) : float
getFactor ( )
getGroup ( )
getId ( )
getLongname ( )
getReference ( ) : string
save ( ) : void
setAbbreviation ( $abbreviation )
setBaseunit ( $baseunit )
setConversionOffset ( float $conversionOffset )
setFactor ( $factor )
setGroup ( $group )
setId ( $id )
setLongname ( $longname )
setReference ( string $reference )

메소드 상세

__toString() 공개 메소드

public __toString ( )

create() 공개 정적인 메소드

public static create ( array $values = [] ) : Unit
$values array
리턴 Unit

delete() 공개 메소드

public delete ( ) : void
리턴 void

getAbbreviation() 공개 메소드

public getAbbreviation ( )

getBaseunit() 공개 메소드

public getBaseunit ( )

getByAbbreviation() 공개 정적인 메소드

public static getByAbbreviation ( string $abbreviation ) : Unit
$abbreviation string
리턴 Unit

getById() 공개 정적인 메소드

public static getById ( string $id ) : Unit
$id string
리턴 Unit

getByReference() 공개 정적인 메소드

public static getByReference ( string $reference ) : Unit
$reference string
리턴 Unit

getConversionOffset() 공개 메소드

public getConversionOffset ( ) : float
리턴 float

getFactor() 공개 메소드

public getFactor ( )

getGroup() 공개 메소드

public getGroup ( )

getId() 공개 메소드

public getId ( )

getLongname() 공개 메소드

public getLongname ( )

getReference() 공개 메소드

public getReference ( ) : string
리턴 string

save() 공개 메소드

public save ( ) : void
리턴 void

setAbbreviation() 공개 메소드

public setAbbreviation ( $abbreviation )

setBaseunit() 공개 메소드

public setBaseunit ( $baseunit )

setConversionOffset() 공개 메소드

public setConversionOffset ( float $conversionOffset )
$conversionOffset float

setFactor() 공개 메소드

public setFactor ( $factor )

setGroup() 공개 메소드

public setGroup ( $group )

setId() 공개 메소드

public setId ( $id )

setLongname() 공개 메소드

public setLongname ( $longname )

setReference() 공개 메소드

public setReference ( string $reference )
$reference string

프로퍼티 상세

$abbreviation 공개적으로 프로퍼티

public string $abbreviation
리턴 string

$baseunit 공개적으로 프로퍼티

public string $baseunit
리턴 string

$conversionOffset 공개적으로 프로퍼티

public double $conversionOffset
리턴 double

$factor 공개적으로 프로퍼티

public double $factor
리턴 double

$group 공개적으로 프로퍼티

public string $group
리턴 string

$id 공개적으로 프로퍼티

public int $id
리턴 integer

$longname 공개적으로 프로퍼티

public string $longname
리턴 string

$reference 공개적으로 프로퍼티

public string $reference
리턴 string