data['hooks'] = $hooks; $this->data['parts'] = array_unique( array_filter( $all_parts ) ); $this->data['components'] = array_unique( array_filter( $components ) ); usort( $this->data['parts'], 'strcasecmp' ); usort( $this->data['components'], 'strcasecmp' ); } } # Load early to catch all hooks QM_Collectors::add( new QM_Collector_Hooks() );