public virtual string GetEditUrl (PortalModuleBase module, string id) { return module.EditUrl (EditQueryKey, id, EditControlKey); }
public virtual ModuleAction GetAction (PortalModuleBase module) { // ModuleActionCollection is created before OnInit, // so need to pass module reference to this method return new ModuleAction ( module.GetNextActionID (), // TODO: Action labels require localization EditControlKey.Replace ("edit", "Add "), ModuleActionType.AddContent, "", IconController.IconURL ("Add"), module.EditUrl (EditControlKey), "", false, SecurityAccessLevel.Edit, true, false ); }
public virtual string GetAddUrl (PortalModuleBase module) { return module.EditUrl (EditControlKey); }