[PR #175] [MERGED] Added a new hook for class Alias, function toggleActive, hook preTogg… #292

Closed
opened 2026-02-26 10:30:40 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/opensolutions/ViMbAdmin/pull/175
Author: @mfechner
Created: 4/2/2016
Status: Merged
Merged: 4/11/2016
Merged by: @barryo

Base: masterHead: new_hook_alias_pretoogle


📝 Commits (2)

  • 7882c33 Added a new hook for class Alias, function toggleActive, hook preToggle which can be used to stop the toggle function with a hook for class Alias.
  • f4b9f92 Hooks should always return true/false, so handle here ajax calls by return ok/ko as expected by javascript.

📊 Changes

2 files changed (+14 additions, -10 deletions)

View changed files

📝 application/controllers/AliasController.php (+13 -10)
📝 library/ViMbAdmin/Controller/PluginAction.php (+1 -0)

📄 Description

…le which can be used to stop the toggle function with a hook for class Alias.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/opensolutions/ViMbAdmin/pull/175 **Author:** [@mfechner](https://github.com/mfechner) **Created:** 4/2/2016 **Status:** ✅ Merged **Merged:** 4/11/2016 **Merged by:** [@barryo](https://github.com/barryo) **Base:** `master` ← **Head:** `new_hook_alias_pretoogle` --- ### 📝 Commits (2) - [`7882c33`](https://github.com/opensolutions/ViMbAdmin/commit/7882c3329b6757d837e6bd2239908518cefdd6c3) Added a new hook for class Alias, function toggleActive, hook preToggle which can be used to stop the toggle function with a hook for class Alias. - [`f4b9f92`](https://github.com/opensolutions/ViMbAdmin/commit/f4b9f9208c920b5c12dcef878918ed9213586226) Hooks should always return true/false, so handle here ajax calls by return ok/ko as expected by javascript. ### 📊 Changes **2 files changed** (+14 additions, -10 deletions) <details> <summary>View changed files</summary> 📝 `application/controllers/AliasController.php` (+13 -10) 📝 `library/ViMbAdmin/Controller/PluginAction.php` (+1 -0) </details> ### 📄 Description …le which can be used to stop the toggle function with a hook for class Alias. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 10:30:40 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ViMbAdmin-opensolutions#292
No description provided.