* @param integer $page_size Page size. How many rows will each page have
* @param string $sql_select SQL statement that will be used to set actual data
* @param string $sql_count SQL statement that will be used to count rows matching the "where" clause. Note that returned value have to be aliased with "as total_rows", otherwise you will get an exception
* @param boolean $forgiving If set to false some methods will throw exception if you try to fetch non existing page. If true - fetch* methods will guess some safe value. Default is false
*/
function __construct($page_size, $sql_select, $sql_count, $forgiving = true) {
* Sets SQL statement that will be used to count rows matching the "where" clause. Note that returned value have to be aliased with "as total_rows", otherwise you will get an exception
* Sets forgiving mode. If set to false some methods will throw exception if you try to fetch non existing page. If true - fetch* methods will guess some safe value. Default is false