<?php
class MButtonFind extends MInputButton
{
    public function __construct($action = '')
    {
        parent::__construct('', '', $action);
        $this->setClass('mButtonFind btn btn-success', false);
        $this->addAttribute('title', 'Buscar');

    }

    public function generateInner()
    {
        if ( $this->visible )
        {
            parent::generateButton();
            $this->text = '<i class="fa fa-search"></i>';
            $this->inner = $this->generateLabel() . $this->getRender('button');
        }
    }

        
}
?>