<?
    class frmFileContent extends MForm
    {
        public function __construct()
        {
            parent::__construct('MFileContent');
        }

        public function createFields()
        {
            global $MIOLO;
            $filename = $MIOLO->getModulePath('example', '/forms/frmFileContent.class.php');
            $fields = array(new MFileContent($filename, true));
            $this->setFields($fields);
            $this->defaultButton = False;
        }
    }
?>
