\Nano4\UtilsUnitsClass

Summary

Methods
Properties
Constants
convert()
count()
offsetExists()
offsetGet()
offsetSet()
offsetUnset()
current()
key()
next()
rewind()
valid()
base()
units()
$base
$step
No constants found
No protected methods found
$units
N/A
No private methods found
No private properties found
N/A

Properties

$base

$base : 

Type

$step

$step : 

Type

$units

$units : 

Type

Methods

convert()

convert(  $value,   $from,   $to) 

Parameters

$value
$from
$to

count()

count() 

Return the total count of units in our class.

offsetExists()

offsetExists(  $offset) 

Does a unit exist?

Parameters

$offset

offsetGet()

offsetGet(  $offset) 

Get a Unit

Parameters

$offset

offsetSet()

offsetSet(  $offset,   $value) 

Add a unit to our units.

Parameters

$offset
$value

offsetUnset()

offsetUnset(  $offset) 

We don't allow unsetting units.

Parameters

$offset

current()

current() 

key()

key() 

next()

next() 

rewind()

rewind() 

valid()

valid() 

base()

base() 

Return the base item class.

units()

units()