public function getElement($name)
    {
        $returnValue = null;



		foreach($this->elements as $element){
			if($element->getName() == $name){
				$returnValue = $element;
				break;
			}
		}
		if (is_null($returnValue)) {
			common_Logger::w('Element with name \''.$name.'\' not found');
		}


        return $returnValue;
    }
public function getElement($name)
    {
        $returnValue = null;



		foreach($this->elements as $element){
			if($element->getName() == $name){
				$returnValue = $element;
				break;
			}
		}
		if (is_null($returnValue)) {
			common_Logger::w('Element with name \''.$name.'\' not found');
		}


        return $returnValue;
    }
public function getElement ( $ name ) { $ returnValue = null ; foreach ( $ this -> elements as $ element ) { if ( $ element -> getName ( ) == $ name ) { $ returnValue = $ element ; break ; } } if ( is_null ( $ returnValue ) ) { common_Logger :: w ( 'Element with name \'' . $ name . '\' not found' ) ; } return $ returnValue ; }
get an element of the form identified by it's name

@access public
@author Cédric Alfonsi, <cedric.alfonsi@tudor.lu>
@param  string $name
@return tao_helpers_form_FormElement
get an element of the form identified by it s name