Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Data Fields | |
const | STANDARD = 'BYTE' |
const | BIT = 'BIT' |
const | CRUMB = 'CRUMB' |
const | NIBBLE = 'NIBBLE' |
const | BYTE = 'BYTE' |
const | KILOBYTE = 'KILOBYTE' |
const | KIBIBYTE = 'KIBIBYTE' |
const | KILO_BINARY_BYTE = 'KILO_BINARY_BYTE' |
const | KILOBYTE_SI = 'KILOBYTE_SI' |
const | MEGABYTE = 'MEGABYTE' |
const | MEBIBYTE = 'MEBIBYTE' |
const | MEGA_BINARY_BYTE = 'MEGA_BINARY_BYTE' |
const | MEGABYTE_SI = 'MEGABYTE_SI' |
const | GIGABYTE = 'GIGABYTE' |
const | GIBIBYTE = 'GIBIBYTE' |
const | GIGA_BINARY_BYTE = 'GIGA_BINARY_BYTE' |
const | GIGABYTE_SI = 'GIGABYTE_SI' |
const | TERABYTE = 'TERABYTE' |
const | TEBIBYTE = 'TEBIBYTE' |
const | TERA_BINARY_BYTE = 'TERA_BINARY_BYTE' |
const | TERABYTE_SI = 'TERABYTE_SI' |
const | PETABYTE = 'PETABYTE' |
const | PEBIBYTE = 'PEBIBYTE' |
const | PETA_BINARY_BYTE = 'PETA_BINARY_BYTE' |
const | PETABYTE_SI = 'PETABYTE_SI' |
const | EXABYTE = 'EXABYTE' |
const | EXBIBYTE = 'EXBIBYTE' |
const | EXA_BINARY_BYTE = 'EXA_BINARY_BYTE' |
const | EXABYTE_SI = 'EXABYTE_SI' |
const | ZETTABYTE = 'ZETTABYTE' |
const | ZEBIBYTE = 'ZEBIBYTE' |
const | ZETTA_BINARY_BYTE = 'ZETTA_BINARY_BYTE' |
const | ZETTABYTE_SI = 'ZETTABYTE_SI' |
const | YOTTABYTE = 'YOTTABYTE' |
const | YOBIBYTE = 'YOBIBYTE' |
const | YOTTA_BINARY_BYTE = 'YOTTA_BINARY_BYTE' |
const | YOTTABYTE_SI = 'YOTTABYTE_SI' |
Protected Attributes | |
$_units | |
![]() | |
$_value | |
$_type | |
$_locale = null | |
$_units = array() | |
Additional Inherited Members | |
![]() | |
__construct ($value, $type=null, $locale=null) | |
getLocale () | |
setLocale ($locale=null, $check=false) | |
getValue ($round=-1, $locale=null) | |
setValue ($value, $type=null, $locale=null) | |
getType () | |
setType ($type) | |
equals ($object) | |
toString ($round=-1, $locale=null) | |
__toString () | |
getConversionList () | |
convertTo ($type, $round=2, $locale=null) | |
add ($object) | |
sub ($object) | |
compare ($object) | |
Definition at line 37 of file Binary.php.
|
protected |
Definition at line 83 of file Binary.php.
const BIT = 'BIT' |
Definition at line 41 of file Binary.php.
const BYTE = 'BYTE' |
Definition at line 44 of file Binary.php.
const CRUMB = 'CRUMB' |
Definition at line 42 of file Binary.php.
const EXA_BINARY_BYTE = 'EXA_BINARY_BYTE' |
Definition at line 67 of file Binary.php.
const EXABYTE = 'EXABYTE' |
Definition at line 65 of file Binary.php.
const EXABYTE_SI = 'EXABYTE_SI' |
Definition at line 68 of file Binary.php.
const EXBIBYTE = 'EXBIBYTE' |
Definition at line 66 of file Binary.php.
const GIBIBYTE = 'GIBIBYTE' |
Definition at line 54 of file Binary.php.
const GIGA_BINARY_BYTE = 'GIGA_BINARY_BYTE' |
Definition at line 55 of file Binary.php.
const GIGABYTE = 'GIGABYTE' |
Definition at line 53 of file Binary.php.
const GIGABYTE_SI = 'GIGABYTE_SI' |
Definition at line 56 of file Binary.php.
const KIBIBYTE = 'KIBIBYTE' |
Definition at line 46 of file Binary.php.
const KILO_BINARY_BYTE = 'KILO_BINARY_BYTE' |
Definition at line 47 of file Binary.php.
const KILOBYTE = 'KILOBYTE' |
Definition at line 45 of file Binary.php.
const KILOBYTE_SI = 'KILOBYTE_SI' |
Definition at line 48 of file Binary.php.
const MEBIBYTE = 'MEBIBYTE' |
Definition at line 50 of file Binary.php.
const MEGA_BINARY_BYTE = 'MEGA_BINARY_BYTE' |
Definition at line 51 of file Binary.php.
const MEGABYTE = 'MEGABYTE' |
Definition at line 49 of file Binary.php.
const MEGABYTE_SI = 'MEGABYTE_SI' |
Definition at line 52 of file Binary.php.
const NIBBLE = 'NIBBLE' |
Definition at line 43 of file Binary.php.
const PEBIBYTE = 'PEBIBYTE' |
Definition at line 62 of file Binary.php.
const PETA_BINARY_BYTE = 'PETA_BINARY_BYTE' |
Definition at line 63 of file Binary.php.
const PETABYTE = 'PETABYTE' |
Definition at line 61 of file Binary.php.
const PETABYTE_SI = 'PETABYTE_SI' |
Definition at line 64 of file Binary.php.
const STANDARD = 'BYTE' |
Definition at line 39 of file Binary.php.
const TEBIBYTE = 'TEBIBYTE' |
Definition at line 58 of file Binary.php.
const TERA_BINARY_BYTE = 'TERA_BINARY_BYTE' |
Definition at line 59 of file Binary.php.
const TERABYTE = 'TERABYTE' |
Definition at line 57 of file Binary.php.
const TERABYTE_SI = 'TERABYTE_SI' |
Definition at line 60 of file Binary.php.
const YOBIBYTE = 'YOBIBYTE' |
Definition at line 74 of file Binary.php.
const YOTTA_BINARY_BYTE = 'YOTTA_BINARY_BYTE' |
Definition at line 75 of file Binary.php.
const YOTTABYTE = 'YOTTABYTE' |
Definition at line 73 of file Binary.php.
const YOTTABYTE_SI = 'YOTTABYTE_SI' |
Definition at line 76 of file Binary.php.
const ZEBIBYTE = 'ZEBIBYTE' |
Definition at line 70 of file Binary.php.
const ZETTA_BINARY_BYTE = 'ZETTA_BINARY_BYTE' |
Definition at line 71 of file Binary.php.
const ZETTABYTE = 'ZETTABYTE' |
Definition at line 69 of file Binary.php.
const ZETTABYTE_SI = 'ZETTABYTE_SI' |
Definition at line 72 of file Binary.php.