|
|
@@ -37,16 +37,17 @@ echo $unit->convertTo(Zend_Measure_Length::YARD);
|
|
|
<classname>Zend_Measure_<TYPE>::NAME_OF_UNIT</classname>, where <TYPE>
|
|
|
corresponds to a well-known physical or numerical property. . Every unit of measurement
|
|
|
consists of a conversion factor and a display unit. A detailed list can be found in the
|
|
|
- chapter <link linkend="zend.measure.types"><code>Types of measurements</code></link>.
|
|
|
+ chapter <link linkend="zend.measure.types">Types of measurements</link>.
|
|
|
</para>
|
|
|
|
|
|
<example id="zend.measure.introduction.example-2">
|
|
|
<title>The meter measurement</title>
|
|
|
|
|
|
<para>
|
|
|
- The <code>meter</code> is used for measuring lengths, so its type constant can be found
|
|
|
- in the <code>Length</code> class. To refer to this unit of measurement, the notation
|
|
|
- <constant>Length::METER</constant> must be used. The display unit is <code>m</code>.
|
|
|
+ The <emphasis>meter</emphasis> is used for measuring lengths, so its type constant can
|
|
|
+ be found in the <classname>Length</classname> class. To refer to this unit of
|
|
|
+ measurement, the notation <constant>Length::METER</constant> must be used. The display
|
|
|
+ unit is <emphasis>m</emphasis>.
|
|
|
</para>
|
|
|
|
|
|
<programlisting language="php"><![CDATA[
|