original_string: public function setData( array $array ) {
          foreach( $array as $name=>$value ) {
              if( !isset( $this->nameHash[$name] ) ) {
                  continue;
              }
  
              $element = $this->nameHash[$name];
  
              $element->setAttribute( 'value', (string)$value );
          }
      }
code: public function setData( array $array ) {
          foreach( $array as $name=>$value ) {
              if( !isset( $this->nameHash[$name] ) ) {
                  continue;
              }
  
              $element = $this->nameHash[$name];
  
              $element->setAttribute( 'value', (string)$value );
          }
      }
code_tokens: public function setData ( array $ array ) { foreach ( $ array as $ name => $ value ) { if ( ! isset ( $ this -> nameHash [ $ name ] ) ) { continue ; } $ element = $ this -> nameHash [ $ name ] ; $ element -> setAttribute ( 'value' , ( string ) $ value ) ; } }
docstring: Sets the form elements values given an array of name=>value pairs.
  
  @param $array the array of data to set
docstring_tokens: Sets the form elements values given an array of name = > value pairs .