Ejemplo n.º 1
0
 function CreateStaffDropdownList()
 {
     $staffModel = new StaffModel();
     $result = "<form action = '' method = 'post' width = '200px'>\n                   <p> Please select a ID: </p>\n                    <select name = 'types' >\n                        <option value = '%' >All</option>\n                        " . $this->CreateOptionValues($staffModel->GetStaffTypes()) . "</select>\n                     <input type = 'submit' value = 'Search' />\n                    </form>";
     return $result;
 }