Zend Framework
1.12
|
Public Attributes | |
const | STANDARD = 'SQUARE_METER' |
const | ACRE = 'ACRE' |
const | ACRE_COMMERCIAL = 'ACRE_COMMERCIAL' |
const | ACRE_SURVEY = 'ACRE_SURVEY' |
const | ACRE_IRELAND = 'ACRE_IRELAND' |
const | ARE = 'ARE' |
const | ARPENT = 'ARPENT' |
const | BARN = 'BARN' |
const | BOVATE = 'BOVATE' |
const | BUNDER = 'BUNDER' |
const | CABALLERIA = 'CABALLERIA' |
const | CABALLERIA_AMERICA = 'CABALLERIA_AMERICA' |
const | CABALLERIA_CUBA = 'CABALLERIA_CUBA' |
const | CARREAU = 'CARREAU' |
const | CARUCATE = 'CARUCATE' |
const | CAWNEY = 'CAWNEY' |
const | CENTIARE = 'CENTIARE' |
const | CONG = 'CONG' |
const | COVER = 'COVER' |
const | CUERDA = 'CUERDA' |
const | DEKARE = 'DEKARE' |
const | DESSIATINA = 'DESSIATINA' |
const | DHUR = 'DHUR' |
const | DUNUM = 'DUNUM' |
const | DUNHAM = 'DUNHAM' |
const | FALL_SCOTS = 'FALL_SCOTS' |
const | FALL = 'FALL' |
const | FANEGA = 'FANEGA' |
const | FARTHINGDALE = 'FARTHINGDALE' |
const | HACIENDA = 'HACIENDA' |
const | HECTARE = 'HECTARE' |
const | HIDE = 'HIDE' |
const | HOMESTEAD = 'HOMESTEAD' |
const | HUNDRED = 'HUNDRED' |
const | JERIB = 'JERIB' |
const | JITRO = 'JITRO' |
const | JOCH = 'JOCH' |
const | JUTRO = 'JUTRO' |
const | JO = 'JO' |
const | KAPPLAND = 'KAPPLAND' |
const | KATTHA = 'KATTHA' |
const | LABOR = 'LABOR' |
const | LEGUA = 'LEGUA' |
const | MANZANA_COSTA_RICA = 'MANZANA_COSTA_RICA' |
const | MANZANA = 'MANZANA' |
const | MORGEN = 'MORGEN' |
const | MORGEN_AFRICA = 'MORGEN_AFRICA' |
const | MU = 'MU' |
const | NGARN = 'NGARN' |
const | NOOK = 'NOOK' |
const | OXGANG = 'OXGANG' |
const | PERCH = 'PERCH' |
const | PERCHE = 'PERCHE' |
const | PING = 'PING' |
const | PYONG = 'PYONG' |
const | RAI = 'RAI' |
const | ROOD = 'ROOD' |
const | SECTION = 'SECTION' |
const | SHED = 'SHED' |
const | SITIO = 'SITIO' |
const | SQUARE = 'SQUARE' |
const | SQUARE_ANGSTROM = 'SQUARE_ANGSTROM' |
const | SQUARE_ASTRONOMICAL_UNIT = 'SQUARE_ASTRONOMICAL_UNIT' |
const | SQUARE_ATTOMETER = 'SQUARE_ATTOMETER' |
const | SQUARE_BICRON = 'SQUARE_BICRON' |
const | SQUARE_CENTIMETER = 'SQUARE_CENTIMETER' |
const | SQUARE_CHAIN = 'SQUARE_CHAIN' |
const | SQUARE_CHAIN_ENGINEER = 'SQUARE_CHAIN_ENGINEER' |
const | SQUARE_CITY_BLOCK_US_EAST = 'SQUARE_CITY_BLOCK_US_EAST' |
const | SQUARE_CITY_BLOCK_US_WEST = 'SQUARE_CITY_BLOCK_US_WEST' |
const | SQUARE_CITY_BLOCK_US_SOUTH = 'SQUARE_CITY_BLOCK_US_SOUTH' |
const | SQUARE_CUBIT = 'SQUARE_CUBIT' |
const | SQUARE_DECIMETER = 'SQUARE_DECIMETER' |
const | SQUARE_DEKAMETER = 'SQUARE_DEKAMETER' |
const | SQUARE_EXAMETER = 'SQUARE_EXAMETER' |
const | SQUARE_FATHOM = 'SQUARE_FATHOM' |
const | SQUARE_FEMTOMETER = 'SQUARE_FEMTOMETER' |
const | SQUARE_FERMI = 'SQUARE_FERMI' |
const | SQUARE_FOOT = 'SQUARE_FOOT' |
const | SQUARE_FOOT_SURVEY = 'SQUARE_FOOT_SURVEY' |
const | SQUARE_FURLONG = 'SQUARE_FURLONG' |
const | SQUARE_GIGAMETER = 'SQUARE_GIGAMETER' |
const | SQUARE_HECTOMETER = 'SQUARE_HECTOMETER' |
const | SQUARE_INCH = 'SQUARE_INCH' |
const | SQUARE_INCH_SURVEY = 'SQUARE_INCH_SURVEY' |
const | SQUARE_KILOMETER = 'SQUARE_KILOMETER' |
const | SQUARE_LEAGUE_NAUTIC = 'SQUARE_LEAGUE_NAUTIC' |
const | SQUARE_LEAGUE = 'SQUARE_LEAGUE' |
const | SQUARE_LIGHT_YEAR = 'SQUARE_LIGHT_YEAR' |
const | SQUARE_LINK = 'SQUARE_LINK' |
const | SQUARE_LINK_ENGINEER = 'SQUARE_LINK_ENGINEER' |
const | SQUARE_MEGAMETER = 'SQUARE_MEGAMETER' |
const | SQUARE_METER = 'SQUARE_METER' |
const | SQUARE_MICROINCH = 'SQUARE_MICROINCH' |
const | SQUARE_MICROMETER = 'SQUARE_MICROMETER' |
const | SQUARE_MICROMICRON = 'SQUARE_MICROMICRON' |
const | SQUARE_MICRON = 'SQUARE_MICRON' |
const | SQUARE_MIL = 'SQUARE_MIL' |
const | SQUARE_MILE = 'SQUARE_MILE' |
const | SQUARE_MILE_NAUTIC = 'SQUARE_MILE_NAUTIC' |
const | SQUARE_MILE_SURVEY = 'SQUARE_MILE_SURVEY' |
const | SQUARE_MILLIMETER = 'SQUARE_MILLIMETER' |
const | SQUARE_MILLIMICRON = 'SQUARE_MILLIMICRON' |
const | SQUARE_MYRIAMETER = 'SQUARE_MYRIAMETER' |
const | SQUARE_NANOMETER = 'SQUARE_NANOMETER' |
const | SQUARE_PARIS_FOOT = 'SQUARE_PARIS_FOOT' |
const | SQUARE_PARSEC = 'SQUARE_PARSEC' |
const | SQUARE_PERCH = 'SQUARE_PERCH' |
const | SQUARE_PERCHE = 'SQUARE_PERCHE' |
const | SQUARE_PETAMETER = 'SQUARE_PETAMETER' |
const | SQUARE_PICOMETER = 'SQUARE_PICOMETER' |
const | SQUARE_ROD = 'SQUARE_ROD' |
const | SQUARE_TENTHMETER = 'SQUARE_TENTHMETER' |
const | SQUARE_TERAMETER = 'SQUARE_TERAMETER' |
const | SQUARE_THOU = 'SQUARE_THOU' |
const | SQUARE_VARA = 'SQUARE_VARA' |
const | SQUARE_VARA_TEXAS = 'SQUARE_VARA_TEXAS' |
const | SQUARE_YARD = 'SQUARE_YARD' |
const | SQUARE_YARD_SURVEY = 'SQUARE_YARD_SURVEY' |
const | SQUARE_YOCTOMETER = 'SQUARE_YOCTOMETER' |
const | SQUARE_YOTTAMETER = 'SQUARE_YOTTAMETER' |
const | STANG = 'STANG' |
const | STREMMA = 'STREMMA' |
const | TAREA = 'TAREA' |
const | TATAMI = 'TATAMI' |
const | TONDE_LAND = 'TONDE_LAND' |
const | TOWNSHIP = 'TOWNSHIP' |
const | TSUBO = 'TSUBO' |
const | TUNNLAND = 'TUNNLAND' |
const | YARD = 'YARD' |
const | VIRGATE = 'VIRGATE' |
Protected Attributes | |
$_units | |
![]() | |
$_value | |
Plain value in standard unit. | |
$_type | |
Original type for this unit. | |
$_locale = null | |
Locale identifier. | |
$_units = array() | |
Unit types for this measurement. | |
Additional Inherited Members | |
![]() | |
__construct ($value, $type=null, $locale=null) | |
Zend_Measure_Abstract is an abstract class for the different measurement types. | |
getLocale () | |
Returns the actual set locale. | |
setLocale ($locale=null, $check=false) | |
Sets a new locale for the value representation. | |
getValue ($round=-1, $locale=null) | |
Returns the internal value. | |
setValue ($value, $type=null, $locale=null) | |
Set a new value. | |
getType () | |
Returns the original type. | |
setType ($type) | |
Set a new type, and convert the value. | |
equals ($object) | |
Compare if the value and type is equal. | |
toString ($round=-1, $locale=null) | |
Returns a string representation. | |
__toString () | |
Returns a string representation. | |
getConversionList () | |
Returns the conversion list. | |
convertTo ($type, $round=2, $locale=null) | |
Alias function for setType returning the converted unit. | |
add ($object) | |
Adds an unit to another one. | |
sub ($object) | |
Substracts an unit from another one. | |
compare ($object) | |
Compares two units. | |
|
protected |
const ACRE = 'ACRE' |
const ACRE_COMMERCIAL = 'ACRE_COMMERCIAL' |
const ACRE_IRELAND = 'ACRE_IRELAND' |
const ACRE_SURVEY = 'ACRE_SURVEY' |
const ARE = 'ARE' |
const ARPENT = 'ARPENT' |
const BARN = 'BARN' |
const BOVATE = 'BOVATE' |
const BUNDER = 'BUNDER' |
const CABALLERIA = 'CABALLERIA' |
const CABALLERIA_AMERICA = 'CABALLERIA_AMERICA' |
const CABALLERIA_CUBA = 'CABALLERIA_CUBA' |
const CARREAU = 'CARREAU' |
const CARUCATE = 'CARUCATE' |
const CAWNEY = 'CAWNEY' |
const CENTIARE = 'CENTIARE' |
const CONG = 'CONG' |
const COVER = 'COVER' |
const CUERDA = 'CUERDA' |
const DEKARE = 'DEKARE' |
const DESSIATINA = 'DESSIATINA' |
const DHUR = 'DHUR' |
const DUNHAM = 'DUNHAM' |
const DUNUM = 'DUNUM' |
const FALL = 'FALL' |
const FALL_SCOTS = 'FALL_SCOTS' |
const FANEGA = 'FANEGA' |
const FARTHINGDALE = 'FARTHINGDALE' |
const HACIENDA = 'HACIENDA' |
const HECTARE = 'HECTARE' |
const HIDE = 'HIDE' |
const HOMESTEAD = 'HOMESTEAD' |
const HUNDRED = 'HUNDRED' |
const JERIB = 'JERIB' |
const JITRO = 'JITRO' |
const JO = 'JO' |
const JOCH = 'JOCH' |
const JUTRO = 'JUTRO' |
const KAPPLAND = 'KAPPLAND' |
const KATTHA = 'KATTHA' |
const LABOR = 'LABOR' |
const LEGUA = 'LEGUA' |
const MANZANA = 'MANZANA' |
const MANZANA_COSTA_RICA = 'MANZANA_COSTA_RICA' |
const MORGEN = 'MORGEN' |
const MORGEN_AFRICA = 'MORGEN_AFRICA' |
const MU = 'MU' |
const NGARN = 'NGARN' |
const NOOK = 'NOOK' |
const OXGANG = 'OXGANG' |
const PERCH = 'PERCH' |
const PERCHE = 'PERCHE' |
const PING = 'PING' |
const PYONG = 'PYONG' |
const RAI = 'RAI' |
const ROOD = 'ROOD' |
const SECTION = 'SECTION' |
const SHED = 'SHED' |
const SITIO = 'SITIO' |
const SQUARE = 'SQUARE' |
const SQUARE_ANGSTROM = 'SQUARE_ANGSTROM' |
const SQUARE_ASTRONOMICAL_UNIT = 'SQUARE_ASTRONOMICAL_UNIT' |
const SQUARE_ATTOMETER = 'SQUARE_ATTOMETER' |
const SQUARE_BICRON = 'SQUARE_BICRON' |
const SQUARE_CENTIMETER = 'SQUARE_CENTIMETER' |
const SQUARE_CHAIN = 'SQUARE_CHAIN' |
const SQUARE_CHAIN_ENGINEER = 'SQUARE_CHAIN_ENGINEER' |
const SQUARE_CITY_BLOCK_US_EAST = 'SQUARE_CITY_BLOCK_US_EAST' |
const SQUARE_CITY_BLOCK_US_SOUTH = 'SQUARE_CITY_BLOCK_US_SOUTH' |
const SQUARE_CITY_BLOCK_US_WEST = 'SQUARE_CITY_BLOCK_US_WEST' |
const SQUARE_CUBIT = 'SQUARE_CUBIT' |
const SQUARE_DECIMETER = 'SQUARE_DECIMETER' |
const SQUARE_DEKAMETER = 'SQUARE_DEKAMETER' |
const SQUARE_EXAMETER = 'SQUARE_EXAMETER' |
const SQUARE_FATHOM = 'SQUARE_FATHOM' |
const SQUARE_FEMTOMETER = 'SQUARE_FEMTOMETER' |
const SQUARE_FERMI = 'SQUARE_FERMI' |
const SQUARE_FOOT = 'SQUARE_FOOT' |
const SQUARE_FOOT_SURVEY = 'SQUARE_FOOT_SURVEY' |
const SQUARE_FURLONG = 'SQUARE_FURLONG' |
const SQUARE_GIGAMETER = 'SQUARE_GIGAMETER' |
const SQUARE_HECTOMETER = 'SQUARE_HECTOMETER' |
const SQUARE_INCH = 'SQUARE_INCH' |
const SQUARE_INCH_SURVEY = 'SQUARE_INCH_SURVEY' |
const SQUARE_KILOMETER = 'SQUARE_KILOMETER' |
const SQUARE_LEAGUE = 'SQUARE_LEAGUE' |
const SQUARE_LEAGUE_NAUTIC = 'SQUARE_LEAGUE_NAUTIC' |
const SQUARE_LIGHT_YEAR = 'SQUARE_LIGHT_YEAR' |
const SQUARE_LINK = 'SQUARE_LINK' |
const SQUARE_LINK_ENGINEER = 'SQUARE_LINK_ENGINEER' |
const SQUARE_MEGAMETER = 'SQUARE_MEGAMETER' |
const SQUARE_METER = 'SQUARE_METER' |
const SQUARE_MICROINCH = 'SQUARE_MICROINCH' |
const SQUARE_MICROMETER = 'SQUARE_MICROMETER' |
const SQUARE_MICROMICRON = 'SQUARE_MICROMICRON' |
const SQUARE_MICRON = 'SQUARE_MICRON' |
const SQUARE_MIL = 'SQUARE_MIL' |
const SQUARE_MILE = 'SQUARE_MILE' |
const SQUARE_MILE_NAUTIC = 'SQUARE_MILE_NAUTIC' |
const SQUARE_MILE_SURVEY = 'SQUARE_MILE_SURVEY' |
const SQUARE_MILLIMETER = 'SQUARE_MILLIMETER' |
const SQUARE_MILLIMICRON = 'SQUARE_MILLIMICRON' |
const SQUARE_MYRIAMETER = 'SQUARE_MYRIAMETER' |
const SQUARE_NANOMETER = 'SQUARE_NANOMETER' |
const SQUARE_PARIS_FOOT = 'SQUARE_PARIS_FOOT' |
const SQUARE_PARSEC = 'SQUARE_PARSEC' |
const SQUARE_PERCH = 'SQUARE_PERCH' |
const SQUARE_PERCHE = 'SQUARE_PERCHE' |
const SQUARE_PETAMETER = 'SQUARE_PETAMETER' |
const SQUARE_PICOMETER = 'SQUARE_PICOMETER' |
const SQUARE_ROD = 'SQUARE_ROD' |
const SQUARE_TENTHMETER = 'SQUARE_TENTHMETER' |
const SQUARE_TERAMETER = 'SQUARE_TERAMETER' |
const SQUARE_THOU = 'SQUARE_THOU' |
const SQUARE_VARA = 'SQUARE_VARA' |
const SQUARE_VARA_TEXAS = 'SQUARE_VARA_TEXAS' |
const SQUARE_YARD = 'SQUARE_YARD' |
const SQUARE_YARD_SURVEY = 'SQUARE_YARD_SURVEY' |
const SQUARE_YOCTOMETER = 'SQUARE_YOCTOMETER' |
const SQUARE_YOTTAMETER = 'SQUARE_YOTTAMETER' |
const STANDARD = 'SQUARE_METER' |
const STANG = 'STANG' |
const STREMMA = 'STREMMA' |
const TAREA = 'TAREA' |
const TATAMI = 'TATAMI' |
const TONDE_LAND = 'TONDE_LAND' |
const TOWNSHIP = 'TOWNSHIP' |
const TSUBO = 'TSUBO' |
const TUNNLAND = 'TUNNLAND' |
const VIRGATE = 'VIRGATE' |
const YARD = 'YARD' |