我正在努力研究如何在以下工作...Zend框架表單幫手
Jobs_Form_Report_Productivity()
從何而來?
public function productivityAction(){
$this->view->headTitle('Number of Unique Jobs by Portfolio');
$this->view->form = new Jobs_Form_Report_Productivity();
if($this->view->form->isValid($_POST))
{
$report = new Model_Users();
$this->view->results = $report->reportProductivity(
$this->view->form->getStartDate('yyy-MM-dd'),
$this->view->form->getEndDate('yyy-MM-dd')
);
}
}
這是模型類的某種形式嗎?
'Jobs_Form_Report_Productivity'是 – Sky
類這似乎是一個名稱表格班。通常它會在'application/modules/job/form/report/Productivity.php' –