コード例 #1
-1
 public virtual string GetEditUrl (PortalModuleBase module, string id)
 {
     return module.EditUrl (EditQueryKey, id, EditControlKey);
 }
コード例 #2
-1
        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
            );
        }
コード例 #3
-1
 public virtual string GetAddUrl (PortalModuleBase module)
 {
     return module.EditUrl (EditControlKey);
 }