From a0f62035380c651b14f16036da6e93072d566969 Mon Sep 17 00:00:00 2001 From: Damien LASSERRE Date: Fri, 20 Jan 2012 14:03:14 +0000 Subject: [PATCH] =?UTF-8?q?nouvelle=20entr=C3=A9e=20pour=20le=20helper=20s?= =?UTF-8?q?electInterval?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/views/default/helpers/Field.php | 25 +++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/application/views/default/helpers/Field.php b/application/views/default/helpers/Field.php index c94e1a32..71b35fc0 100644 --- a/application/views/default/helpers/Field.php +++ b/application/views/default/helpers/Field.php @@ -19,6 +19,11 @@ Class Zend_View_Helper_Field extends Zend_View_Helper_Abstract $field['label'], $this->selectMultipleHTML($name, $field)); break; + case 'intervalSelect': + $html.= $this->structureHTML( + $field['label'], + $this->intervalSelectHTML($name, $field)); + break; case 'interval': $html.= $this->structureHTML( $field['label'], @@ -84,6 +89,26 @@ Class Zend_View_Helper_Field extends Zend_View_Helper_Abstract return ''; } + private function intervalSelectHTML($name, $field) + { + $session = new SessionCiblage(); + + $return = ' à '; + $return .= ''; + $return .= ' Valider'; + return ($return); + } + /* Select */ private function selectMultipleHTML($name, $field) {