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
<?php
class ControllerCatalogProductQuote extends Controller {
public function index() {
}
public function other() {
}
public function andanother() {
}
}
Code: Select all
catalog/controller/product/quote/*/before
route="product/quote/other"
route="product/quote/andanother"
But does not get triggered on an index page request as
route="product/quote"
So now I have 2 event triggers
Code: Select all
catalog/controller/product/quote/*/before
catalog/controller/product/quote/before