original_string: public function getName($blnPlain = false)
      {
          $strReturn = "";
  
          if ($blnPlain) {
              $strReturn = $this->__name;
          } else {
              switch ($this->__type) {
                  case ValidForm::VFORM_RADIO_LIST:
                      $strReturn = $this->__name;
  
                      break;
                  case ValidForm::VFORM_CHECK_LIST:
                      $strReturn = (strpos($this->__name, "[]") === false) ? $this->__name . "[]" : $this->__name;
  
                      break;
              }
          }
  
          return $strReturn;
      }
code: public function getName($blnPlain = false)
      {
          $strReturn = "";
  
          if ($blnPlain) {
              $strReturn = $this->__name;
          } else {
              switch ($this->__type) {
                  case ValidForm::VFORM_RADIO_LIST:
                      $strReturn = $this->__name;
  
                      break;
                  case ValidForm::VFORM_CHECK_LIST:
                      $strReturn = (strpos($this->__name, "[]") === false) ? $this->__name . "[]" : $this->__name;
  
                      break;
              }
          }
  
          return $strReturn;
      }
code_tokens: public function getName ( $ blnPlain = false ) { $ strReturn = "" ; if ( $ blnPlain ) { $ strReturn = $ this -> __name ; } else { switch ( $ this -> __type ) { case ValidForm :: VFORM_RADIO_LIST : $ strReturn = $ this -> __name ; break ; case ValidForm :: VFORM_CHECK_LIST : $ strReturn = ( strpos ( $ this -> __name , "[]" ) === false ) ? $ this -> __name . "[]" : $ this -> __name ; break ; } } return $ strReturn ; }
docstring: Get the element's name
  
  This automatically strips off the [] from a checkbox ID
  
  @see \ValidFormBuilder\Base::getName()
  @param bool $blnPlain If false, [] will be stripped from a checklist group name
  @return string The element's name
docstring_tokens: Get the element s name