protected function setUp() { parent::setup(); $this->template = 'renderTestView'; $this->form = new phForm('test', $this->template); $this->view = new phFormView($this->template, $this->form); }
public function setUp() { parent::setUp(); $this->form = new phTestForm('test', 'subFormTestView'); $addressForm = new phTestForm('address', 'addressTestView'); $this->addressForm = $addressForm; $this->form->addForm($addressForm); }
public function setUp() { parent::setUp(); $this->form = new TestForm('test', 'simpleTestView'); }
protected function setUp() { parent::setUp(); $this->_testValidatable = new phTestValidatable(); $this->_validator = new phFileValidator(); }
public function setUp() { parent::setUp(); $this->collection = new phTestCheckboxDataCollection(); $this->composite = new phTestCheckboxCompositeDataCollection($this->collection); }
public function setUp() { parent::setUp(); $this->fileData = new phFileFormDataItem('testFile'); }
public function setUp() { parent::setUp(); $this->validator = new phEmailValidator(); $this->errors = new phTestValidatable(); }
public function setUp() { parent::setUp(); $this->collection = new phCompositeDataCollection(); }
public function setUp() { parent::setUp(); $this->collection = new phRadioDataCollection(); $this->composite = new phTestRadioCompositeDataCollection($this->collection); }
public function setUp() { parent::setUp(); $this->form = new phForm('test', 'xhtmlView'); $this->xhtmlDecl = "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\" \n \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">\n"; }