Пример #1
0
 public function init($name = NULL, $text = NULL, $language = 'php', $line = '')
 {
     parent::init($name);
     $this->setText($text);
     $this->setLanguage($language);
     $this->setLine($line);
 }
Пример #2
0
 public function init($name = NULL, $content = ' ', $class = NULL, $attributes = NULL)
 {
     parent::init($name);
     $this->setInner($content);
     $this->setClass($class != '' ? $class : 'mSpan');
     $this->setAttributes($attributes);
 }
Пример #3
0
 public function init($name = NULL, $text = NULL, $color = '', $hint = '', $bold = false)
 {
     parent::init($name, '', '', $hint);
     $this->setText($text);
     $this->setColor($color);
     $this->setBold($bold);
 }