TablePager is a subclass of ContextSource, so you can avoid the global here with ```$this->getRequest()->getVal( 'variable', false );```.