Пример #1
0
 public function init($space = NULL)
 {
     parent::init('', ' ', 'mSpacer');
     if (!is_null($space)) {
         $this->addStyle('line-height', $space);
     }
 }
Пример #2
0
 public function init($text = NULL, $margin = '', $color = '', $height = '1px')
 {
     parent::init();
     $this->setText($text);
     $this->setColor($color);
     $this->setMargin($margin);
     $this->setHeight($height);
 }