Page 1 of 1

Wildcard Event Trigger include default index method?

Posted: Thu Apr 26, 2018 6:28 pm
by daveyoi
Hello Gang,

I am setting up a before event that needs to trigger for every method in a class including the default index method.

class @ /catalog/product/quote.php

Code: Select all

class ControllerCatalogProductQuote extends Controller {
	public function index() {
	public function other() {
	public function andanother() {
My Event trigger is setup as

Code: Select all

Which works perfectly for the following routes

But does not get triggered on an index page request as

So now I have 2 event triggers

Code: Select all

Which just point to the same event action class - but it seems a little bit shit.. anyone else managed to have 1 trigger for all methods in a class including the default index method?