PHP 클래스 PartKeepr\SiPrefixBundle\Entity\SiPrefix

상속: extends PartKeepr\CoreBundle\Entity\BaseEntity
파일 보기 프로젝트 열기: partkeepr/PartKeepr 1 사용 예제들

공개 메소드들

메소드 설명
calculateProduct ( $value ) : float Calculates the product for a given value.
getBase ( ) : integer Returns the base.
getExponent ( ) : integer Returns the exponent.
getPrefix ( ) : string Returns the prefix name.
getSymbol ( ) : string Returns the symbol for the prefix.
setBase ( integer $base ) Sets the base.
setExponent ( integer $exponent ) Sets the exponent.
setPrefix ( string $prefix ) Sets the prefix name.
setSymbol ( string $symbol ) Sets the symbol for the prefix.

메소드 상세

calculateProduct() 공개 메소드

Calculates the product for a given value.
public calculateProduct ( $value ) : float
$value float The value to calculate the product
리턴 float The resulting value

getBase() 공개 메소드

Returns the base.
public getBase ( ) : integer
리턴 integer The base

getExponent() 공개 메소드

Returns the exponent.
public getExponent ( ) : integer
리턴 integer The exponent

getPrefix() 공개 메소드

Returns the prefix name.
public getPrefix ( ) : string
리턴 string The prefix name

getSymbol() 공개 메소드

Returns the symbol for the prefix.
public getSymbol ( ) : string
리턴 string The symbol

setBase() 공개 메소드

Sets the base.
public setBase ( integer $base )
$base integer The base

setExponent() 공개 메소드

Sets the exponent.
public setExponent ( integer $exponent )
$exponent integer The exponent

setPrefix() 공개 메소드

Sets the prefix name.
public setPrefix ( string $prefix )
$prefix string

setSymbol() 공개 메소드

Sets the symbol for the prefix.
public setSymbol ( string $symbol )
$symbol string The symbol