Source for file TFormSeparator.php
Documentation is available at TFormSeparator.php
namespace
Adianti \
Widget \
Form ;
* @author Pablo Dall'Oglio
* @copyright Copyright (c) 2006 Adianti Solutions Ltd. (http://www.adianti.com.br)
* @license http://www.adianti.com.br/framework-license
* @param $text Separator title
public function __construct ( $text , $fontColor =
'#333333' , $fontSize =
'16' , $separatorColor =
'#eeeeee' )
$this -> fontColor =
$fontColor ;
$this -> separatorColor =
$separatorColor ;
$this -> fontSize =
$fontSize ;
$this -> header -> { 'class' } =
'tseparator' ;
$this -> header -> { 'style' } =
" font-size: {$this -> fontSize } px; color: {
$this -> fontColor } ;
" ;
$this -> divisor -> { 'style' } =
" border-bottom-color: {$this -> separatorColor } " ;
$this -> divisor -> { 'class' } =
'tseparator-divisor' ;
$this -> add ( $this -> divisor ) ;
$this -> header -> { 'style' } =
" font-size: {$this -> fontSize } px; color: {
$this -> fontColor } ;
" ;
* @param $color font color
$this -> fontColor =
$color ;
$this -> header -> { 'style' } =
" font-size: {$this -> fontSize } px; color: {
$this -> fontColor } ;
" ;
* @param $color separator color
$this -> separatorColor =
$color ;
$this -> divisor -> { 'style' } =
" border-top-color: {$this -> separatorColor } " ;