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