Auto load notifier:
I had this working loading the config. and init_ files. But since init_canonical it loaded at point 161 and this autoload at 175, would be 2 less files.
However, I'm not getting this right.
I've also tried to use function updateNotifyInitCanonicalParamWhitelist(&$class, $eventID,$paramsArray = array()), but that would be for the update function (?)


two more files , two less files is not the issue, but I would like to understand how this works.

PHP Code:
class zcObserverBookxCanonical extends base
{

    public function 
__construct()
    {
        
        
$this->attach($this, array(
            
'NOTIFY_INIT_CANONICAL_PARAM_WHITELIST',
            
'NOTIFY_INIT_CANONICAL_DEFAULT'));  
    }
   

    
//$zco_notifier->notify ('NOTIFY_INIT_CANONICAL_PARAM_WHITELIST', $current_page, $excludeParams, $keepableParams, $includeCPath);
      
    
function updateNotifyInitCanonicalParamWhitelist(&$class$eventID$current_page, &$excludeParams, &$keepableParams$includeCPath)
    {
        
        global 
$keepableParams// ??
        
pr($keepableParams'$paramsArray');
        
$keepableParams[] = 'bookx_publisher_id';
        
$keepableParams[] = 'bookx_genre_id';
        
$keepableParams[] = 'bookx_author_id';
        
$keepableParams[] = 'bookx_author_type_id';
        
$keepableParams[] = 'bookx_author_type_id';
        
$keepableParams[] = 'bookx_imprint_id';
        
$keepableParams[] = 'bookx_series_id';
    } 
thanks