original_string: public function setName($strName)
      {
          parent::setName($strName);
  
          if (is_object($this->__validator)) {
              $this->__validator->setFieldName($strName);
          }
      }
code: public function setName($strName)
      {
          parent::setName($strName);
  
          if (is_object($this->__validator)) {
              $this->__validator->setFieldName($strName);
          }
      }
code_tokens: public function setName ( $ strName ) { parent :: setName ( $ strName ) ; if ( is_object ( $ this -> __validator ) ) { $ this -> __validator -> setFieldName ( $ strName ) ; } }
docstring: Set a new name for this element
  
  This method also updates the name in the elements Validator instance.
  
  @param string $strName The new name
docstring_tokens: Set a new name for this element