protected function findInitializedPagerId()
    {
        foreach ($this->pagers as $key => $pager) {
            if (isset($pager->totalpages)) {
                return $key;
            }
        }

        return '';
    }
protected function findInitializedPagerId()
    {
        foreach ($this->pagers as $key => $pager) {
            if (isset($pager->totalpages)) {
                return $key;
            }
        }

        return '';
    }
protected function findInitializedPagerId ( ) { foreach ( $ this -> pagers as $ key => $ pager ) { if ( isset ( $ pager -> totalpages ) ) { return $ key ; } } return '' ; }
Finds any initialized pager and gets its pager id.

@return int|string
Finds any initialized pager and gets its pager id .