<?
class frmIFrame extends MForm
{
		function __construct() 
		{
			parent::__construct('IFrame Sample');
            $this->addField(new ViewSource(__FILE__));
		}

		function CreateFields()
		{
            $src = "http://www.miolo.org.br";
            $fields = array(
               new MIFrame('frame', $src)
            );
            $this->setFields($fields);
            $this->frame->addAttribute('frameborder','1');
            $this->frame->addAttribute('width','95%');
            $this->frame->addAttribute('height','250px');
            $this->defaultButton = false;
		}
}
?>