original_string: function setElementStyle($elementName, $styleName = null)
      {
          if (is_array($elementName)) {
              $this->_elementStyles = array_merge($this->_elementStyles, $elementName);
          } else {
              $this->_elementStyles[$elementName] = $styleName;
          }
      }
code: function setElementStyle($elementName, $styleName = null)
      {
          if (is_array($elementName)) {
              $this->_elementStyles = array_merge($this->_elementStyles, $elementName);
          } else {
              $this->_elementStyles[$elementName] = $styleName;
          }
      }
code_tokens: function setElementStyle ( $ elementName , $ styleName = null ) { if ( is_array ( $ elementName ) ) { $ this -> _elementStyles = array_merge ( $ this -> _elementStyles , $ elementName ) ; } else { $ this -> _elementStyles [ $ elementName ] = $ styleName ; } }
docstring: Sets a style to use for element rendering
  
  @param mixed      element name or array ('element name' => 'style name')
  @param string     style name if $elementName is not an array
  @access public
  @return void
docstring_tokens: Sets a style to use for element rendering