Exemple #1
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);
 }
Exemple #2
0
 public function onCreate()
 {
     parent::onCreate();
     $this->setRender('text');
 }