Fetching data

Whenever i am trying to fetch data in php it is only fetching 10 rows for this i tried :
$queryOptions =new QueryOptions();
$queryOptions.setPageSize( 100 );
but i mgetting queryOptions class not found.
Can you please tell me how set pagesize in php.

Duplicates http://support.backendless.com/t/data-fetching