public function preRender()
    {
        $returnValue = (string) '';

        
		if(!empty($this->tag)){
			$returnValue .= "<{$this->tag}";
			if (isset($this->attributes['cssClass'])) {
			    // legacy
			    $this->attributes['class'] = $this->attributes['cssClass'].
                    (isset($this->attributes['class']) ? ' '.$this->attributes['class'] : '');
			    unset($this->attributes['cssClass']);
			}
			foreach ($this->attributes as $key => $value) {
			    $returnValue .= ' '.$key.'=\''.$value.'\' ';
			}
			$returnValue .= ">";
		}
        return (string) $returnValue;
    }
public function preRender()
    {
        $returnValue = (string) '';

        
		if(!empty($this->tag)){
			$returnValue .= "<{$this->tag}";
			if (isset($this->attributes['cssClass'])) {
			    // legacy
			    $this->attributes['class'] = $this->attributes['cssClass'].
                    (isset($this->attributes['class']) ? ' '.$this->attributes['class'] : '');
			    unset($this->attributes['cssClass']);
			}
			foreach ($this->attributes as $key => $value) {
			    $returnValue .= ' '.$key.'=\''.$value.'\' ';
			}
			$returnValue .= ">";
		}
        return (string) $returnValue;
    }
public function preRender ( ) { $ returnValue = ( string ) '' ; if ( ! empty ( $ this -> tag ) ) { $ returnValue .= "<{$this->tag}" ; if ( isset ( $ this -> attributes [ 'cssClass' ] ) ) { // legacy $ this -> attributes [ 'class' ] = $ this -> attributes [ 'cssClass' ] . ( isset ( $ this -> attributes [ 'class' ] ) ? ' ' . $ this -> attributes [ 'class' ] : '' ) ; unset ( $ this -> attributes [ 'cssClass' ] ) ; } foreach ( $ this -> attributes as $ key => $ value ) { $ returnValue .= ' ' . $ key . '=\'' . $ value . '\' ' ; } $ returnValue .= ">" ; } return ( string ) $ returnValue ; }
Short description of method preRender

@access public
@author Bertrand Chevrier, <bertrand.chevrier@tudor.lu>
@return string
Short description of method preRender