public function init($name = NULL, $content = ' ', $class = NULL, $attributes = NULL) { parent::init($name); $this->setInner($content); $this->setClass($class != '' ? $class : 'mSpan'); $this->setAttributes($attributes); }
public function onCreate() { parent::onCreate(); $this->setRender('text'); }