<?php

class MSpan extends MOutputControl
{
    public function __construct( $name = NULL, $content = '&nbsp;', $class = NULL, $attributes = NULL )
    {
        parent::__construct( $name );
        $class = MIOLO::verificaClassesBootstrap($class);
        $this->setInner( $content );
        $this->setClass( $class != '' ? $class : 'mSpan' );
        $this->setAttributes( $attributes );
    }

    public function generate()
    {
        return $this->getRender('span');
    }
}

?>