original_string: protected function defineType(string $strType)
      {
          switch ($strType) {
              case 'select':
              case 'textarea':
                  $this->strElementType = $strType;
                  break;
              case 'checkbox':
              case 'hidden':
              case 'radio':
              case 'text':
              default:
                  $this->strElementType = 'input';
                  $this->aAttribs['type'] = $strType;
                  break;
          }
      }
code: protected function defineType(string $strType)
      {
          switch ($strType) {
              case 'select':
              case 'textarea':
                  $this->strElementType = $strType;
                  break;
              case 'checkbox':
              case 'hidden':
              case 'radio':
              case 'text':
              default:
                  $this->strElementType = 'input';
                  $this->aAttribs['type'] = $strType;
                  break;
          }
      }
code_tokens: protected function defineType ( string $ strType ) { switch ( $ strType ) { case 'select' : case 'textarea' : $ this -> strElementType = $ strType ; break ; case 'checkbox' : case 'hidden' : case 'radio' : case 'text' : default : $ this -> strElementType = 'input' ; $ this -> aAttribs [ 'type' ] = $ strType ; break ; } }
docstring: Init the HTML element type.
  
  @param string $strType Type of HTML element.
docstring_tokens: Init the HTML element type .