original_string: public function getName($arrayName = null)
      {
          if ($arrayName === null) {
              $arrayName = $this->arrayName;
          }
  
          if ($arrayName) {
              return $arrayName.'['.implode('][', HtmlHelper::nameToArray($this->fieldName)).']';
          }
  
          return $this->fieldName;
      }
code: public function getName($arrayName = null)
      {
          if ($arrayName === null) {
              $arrayName = $this->arrayName;
          }
  
          if ($arrayName) {
              return $arrayName.'['.implode('][', HtmlHelper::nameToArray($this->fieldName)).']';
          }
  
          return $this->fieldName;
      }
code_tokens: public function getName ( $ arrayName = null ) { if ( $ arrayName === null ) { $ arrayName = $ this -> arrayName ; } if ( $ arrayName ) { return $ arrayName . '[' . implode ( '][' , HtmlHelper :: nameToArray ( $ this -> fieldName ) ) . ']' ; } return $ this -> fieldName ; }
docstring: Returns a value suitable for the field name property.
  @param  string $arrayName Specify a custom array name
  @return string
docstring_tokens: Returns a value suitable for the field name property .