function getElementType($element)
     {
         if (isset($this->_elementIndex[$element])) {
             return $this->_elements[$this->_elementIndex[$element]]->getType();
         }
         return false;
     }
function getElementType($element)
     {
         if (isset($this->_elementIndex[$element])) {
             return $this->_elements[$this->_elementIndex[$element]]->getType();
         }
         return false;
     }
function getElementType ( $ element ) { if ( isset ( $ this -> _elementIndex [ $ element ] ) ) { return $ this -> _elements [ $ this -> _elementIndex [ $ element ] ] -> getType ( ) ; } return false ; }
Returns the type of the given element

@param      string    $element    Name of form element
@since      1.1
@access     public
@return     string    Type of the element, false if the element is not found
Returns the type of the given element