src/Zicht/Bundle/FrameworkExtraBundle/Pager/Pager.php
private function itemAt($i)
    {
        return array(
            'index' => $i,
            'title' => $i + 1,
            'is_previous' => $i == ($this->currentPage - 1),
            'is_current' => $i == $this->currentPage,
            'is_next' => $i == ($this->currentPage + 1)
        );
    }
private function itemAt($i)
    {
        return array(
            'index' => $i,
            'title' => $i + 1,
            'is_previous' => $i == ($this->currentPage - 1),
            'is_current' => $i == $this->currentPage,
            'is_next' => $i == ($this->currentPage + 1)
        );
    }
private function itemAt ( $ i ) { return array ( 'index' => $ i , 'title' => $ i + 1 , 'is_previous' => $ i == ( $ this -> currentPage - 1 ) , 'is_current' => $ i == $ this -> currentPage , 'is_next' => $ i == ( $ this -> currentPage + 1 ) ) ; }
Meta data helper function, returns the following meta data for each of the requested pages.

- title: The displayable title for the current page (e.g. "1" for page 0)
- is_previous: Whether the page is the previous page
- is_current
- is_next: Whether the page is the next page

@param int $i
@return array
Meta data helper function returns the following meta data for each of the requested pages .