$value) { $extra = ''; if ($key == $fiscalYear) { $extra = 'selected="selected"'; } $fiscalYearOptions .= ""; } $this->assign('fiscal_year_options', $fiscalYearOptions); $this->assign('fiscalYear', $fiscalYear); } /** * Get edit form name. * * @return string * name of this page. */ public function editName() { return ts('Annual Grant Budget'); } /** * Get name of edit form. * * @return string * Classname of edit form. */ public function editForm() { return 'CRM_Grant_Page_AnnualBudgets'; } /** * Get user context. * * @param null $mode * * @return string * user context. */ public function userContext($mode = NULL) { return 'civicrm/grant/annual/budgets'; } }