src/View/Helper/FormHelper.php
protected function _bootstrapTypeMap($type) {
        $map = $this->_bootstrapTypeMap;

        return isset($map[$type]) ? $map[$type] : 'text';
    }
protected function _bootstrapTypeMap($type) {
        $map = $this->_bootstrapTypeMap;

        return isset($map[$type]) ? $map[$type] : 'text';
    }
protected function _bootstrapTypeMap ( $ type ) { $ map = $ this -> _bootstrapTypeMap ; return isset ( $ map [ $ type ] ) ? $ map [ $ type ] : 'text' ; }
Maps the type to bootstrap else text

@param $type

@return mixed|string
Maps the type to bootstrap else text