- protected static $_templateArray = array();
- protected static $_unite_conversion = array(
- 's' => array(60, 's', 'min', 'h'),
- 'W' => array(1000, 'W', 'kW', 'MW'),
- 'Wh' => array(1000, 'Wh', 'kWh', 'MWh'),
- 'io' => array(1024, 'io', 'Kio', 'Mio', 'Gio', 'Tio'),
- 'o' => array(1000, 'o', 'Ko', 'Mo', 'Go', 'To'),
- 'o/s' => array(1000, 'o/s', 'Ko/s', 'Mo/s', 'Go/s', 'To/s'),
- 'Bps' => array(1000, 'Bps', 'Kbps', 'Mbps', 'Gbps', 'Tbps'),
- 'Hz' => array(1000, 'Hz', 'kHz', 'MHz', 'GHz'),
- 'l' => array(1000, 'l', 'm<sup>3</sup>')
- );
- /* * ***********************Méthodes statiques*************************** */
- private static function cast($_inputs, $_eqLogic = null) {
- if (is_object($_inputs) && class_exists($_inputs->getEqType() . 'Cmd')) {
- if ($_eqLogic !== null) {
- $_inputs->_eqLogic = $_eqLogic;
- }
- $return = cast($_inputs, $_inputs->getEqType() . 'Cmd');
- if (method_exists($return, 'decrypt')) {