original_string: public function setStyleForId($idOrStyles, $style = null)
      {
          if (is_array($idOrStyles)) {
              $this->styles = array_merge($this->styles, $idOrStyles);
          } else {
              $this->styles[$idOrStyles] = $style;
          }
          return $this;
      }
code: public function setStyleForId($idOrStyles, $style = null)
      {
          if (is_array($idOrStyles)) {
              $this->styles = array_merge($this->styles, $idOrStyles);
          } else {
              $this->styles[$idOrStyles] = $style;
          }
          return $this;
      }
code_tokens: public function setStyleForId ( $ idOrStyles , $ style = null ) { if ( is_array ( $ idOrStyles ) ) { $ this -> styles = array_merge ( $ this -> styles , $ idOrStyles ) ; } else { $ this -> styles [ $ idOrStyles ] = $ style ; } return $ this ; }
docstring: Sets a style for element rendering
  
  "Style" is some information that is opaque to Array Renderer but may be
  of use to e.g. template engine that receives the resultant array.
  
  @param    string|array    Element id or array ('element id' => 'style')
  @param    sting           Element style if $idOrStyles is not an array
  @return   HTML_QuickForm2_Renderer_Array
docstring_tokens: Sets a style for element rendering