|
From: Jason S. <jsw...@ya...> - 2008-05-27 19:25:06
|
Sorry for the belated reply, ----- Original Message ---- >From: Marcus Baker <ma...@wo...> >>George Herson wrote: >> phpDocumentor qn: I found it in the API's class documentation but do you know why methods such as >> setField aren't in the API's index of elements (http://simpletest.org/api/)? > >No idea. This method has been around for a while. Could be a doc bug. Just checked, a bunch out there now: setField WebTestCase::setField() in web_tester.php Sets all form fields with that label, or name if there is no label attached. setField SimpleForm::setField() in form.php Sets a widget value within the form. setField SimplePage::setField() in page.php Sets a field on each form in which the field is available. setField SimpleFrameset::setField() in frames.php Sets a field on each form in which the field is available. setField SimpleBrowser::setField() in browser.php Sets all form fields with that name.but in somewhat questionable order (they were at least in the "S" section :) ) Regards, Jason |