public function executeShowLocation() { $c = new Criteria(); $c->add(VTestApplSched1Peer::TEST_SCHEDULE_ID, $this->getRequestParameter('id')); $c->add(VTestApplSched1Peer::LOCATION_ID, $this->getRequestParameter('location_id')); $this->test_schedule = VTestApplSched1Peer::doSelectOne($c); }