classes/Pagination.php
public function setItemsPerPage( $items_per_page )
	{
		if ( !is_int( $items_per_page ) )
		{
			trigger_error( 'Pagination setItemsPerPage: Items per page must be an integer.' );
			return false;
		}

		if ( $items_per_page <= 0 )
		{
			trigger_error( 'Pagination setItemsPerPage: Items per page must be a positive integer.' );
			return false;
		}

		$this->items_per_page = $items_per_page;
	}
public function setItemsPerPage( $items_per_page )
	{
		if ( !is_int( $items_per_page ) )
		{
			trigger_error( 'Pagination setItemsPerPage: Items per page must be an integer.' );
			return false;
		}

		if ( $items_per_page <= 0 )
		{
			trigger_error( 'Pagination setItemsPerPage: Items per page must be a positive integer.' );
			return false;
		}

		$this->items_per_page = $items_per_page;
	}
public function setItemsPerPage ( $ items_per_page ) { if ( ! is_int ( $ items_per_page ) ) { trigger_error ( 'Pagination setItemsPerPage: Items per page must be an integer.' ) ; return false ; } if ( $ items_per_page <= 0 ) { trigger_error ( 'Pagination setItemsPerPage: Items per page must be a positive integer.' ) ; return false ; } $ this -> items_per_page = $ items_per_page ; }
Set number of items per page.

@param integer $items_per_page Number of items per page.
Set number of items per page .