Beispiel #1
0
 public function executeSelectByRegTestPeriod()
 {
     $reg_test_period_id = $this->getRequestParameter('reg_test_period_id');
     $c = new Criteria();
     $c->add(TestSchedulePeer::REG_TEST_PERIOD_ID, $reg_test_period_id);
     $test_schedule = TestSchedulePeer::doSelectOne($c);
     $test_schedule_id = $test_schedule->getId();
     $objs = LocationPeer::doSelectByTestSchedule($test_schedule_id);
     $content = array();
     $disabled = array();
     foreach ($objs as $o) {
         $content[$o->getId()] = $o->toStringWithCap();
     }
     $this->content = $content;
     $this->disabled = $disabled;
 }