public function getValue()
    {
        $from_input = $this
            ->grid
            ->getInputProcessor()
            ->getFilterValue('records_per_page');
        if ($from_input === null) {
            return $this->grid->getConfig()->getPageSize();
        } else {
            return (int) $from_input;
        }
    }
public function getValue()
    {
        $from_input = $this
            ->grid
            ->getInputProcessor()
            ->getFilterValue('records_per_page');
        if ($from_input === null) {
            return $this->grid->getConfig()->getPageSize();
        } else {
            return (int) $from_input;
        }
    }
public function getValue ( ) { $ from_input = $ this -> grid -> getInputProcessor ( ) -> getFilterValue ( 'records_per_page' ) ; if ( $ from_input === null ) { return $ this -> grid -> getConfig ( ) -> getPageSize ( ) ; } else { return ( int ) $ from_input ; } }
Returns current value from input.
Default grids pre-configured page size will be returned if there is no input.

@return int|null
Returns current value from input . Default grids pre - configured page size will be returned if there is no input .