classes/Pagination.php
public function setDisplayItemsPerPage( $values_to_show )
	{
		$this->display_items_per_page['display'] = false;
		if ( !empty( $values_to_show ) && is_array( $values_to_show ) )
		{
			$result = array_filter( $values_to_show, "is_integer" );
			$this->display_items_per_page['display']	= true;
			$this->display_items_per_page['values'] 	= $result;
		}
	}
public function setDisplayItemsPerPage( $values_to_show )
	{
		$this->display_items_per_page['display'] = false;
		if ( !empty( $values_to_show ) && is_array( $values_to_show ) )
		{
			$result = array_filter( $values_to_show, "is_integer" );
			$this->display_items_per_page['display']	= true;
			$this->display_items_per_page['values'] 	= $result;
		}
	}
public function setDisplayItemsPerPage ( $ values_to_show ) { $ this -> display_items_per_page [ 'display' ] = false ; if ( ! empty ( $ values_to_show ) && is_array ( $ values_to_show ) ) { $ result = array_filter ( $ values_to_show , "is_integer" ) ; $ this -> display_items_per_page [ 'display' ] = true ; $ this -> display_items_per_page [ 'values' ] = $ result ; } }
Set display items per page.

@param array $values_to_show Values to show.
Set display items per page .