Changeset 54

Show
Ignore:
Timestamp:
11/29/06 23:05:33 (2 years ago)
Author:
schst
Message:

Removed trailing spaces, converted tabs to spaces

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/examples/Complex2.php

    r37 r54  
    22/** 
    33 * example complex class 
    4  *  
     4 * 
    55 * @author  Stephan Schmidt <stephan.schmidt@schlund.de> 
    66 * @author  Frank Kleine <frank.kleine@schlund.de> 
     
    88/** 
    99 * example complex class 
    10  *  
     10 * 
    1111 * @package     XJConf 
    1212 * @subpackage  examples 
     
    3434    /** 
    3535     * an integer example 
    36      *  
     36     * 
    3737     * @var  int 
    3838     */ 
    3939    private $size = 1; 
    40      
     40 
    4141    /** 
    4242     * constructor 
    43      *  
     43     * 
    4444     * @param  string  $data 
    4545     */ 
     
    4848        $this->data = $data; 
    4949    } 
    50      
     50 
    5151    /** 
    5252     * set the color string 
     
    5858        $this->colorString = $colorString; 
    5959    } 
    60      
     60 
    6161    /** 
    6262     * set the color 
     
    6868        $this->color = $color; 
    6969    } 
    70      
     70 
    7171    /** 
    7272     * set the size 
     
    7878        $this->size = $size; 
    7979    } 
    80      
     80 
    8181    /** 
    8282     * render all known data 
     
    8787    { 
    8888        if (null == $this->color) { 
    89             return '<font color="' . $this->colorString . '" size="' . $this->size . '">' . $this->data . '</font>';            
    90                } else { 
     89            return '<font color="' . $this->colorString . '" size="' . $this->size . '">' . $this->data . '</font>'; 
     90        } else { 
    9191            return '<font title="This text is written in ' . $this->color->getName() . ' (' . $this->color->getColorTitle() . ')" color="' . $this->color->getRGB() . '" size="' . $this->size . '">' . $this->data . '</font>'; 
    92                 }         
     92        } 
    9393    } 
    9494}