## API Documentation

# Gdata/Query.php

Zend Framework

LICENSE

This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.

category
  Zend
copyright
  Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com)
license
  New BSD License
package
  Zend_Gdata
subpackage
  Gdata
version
  $Id: Query.php 23775 2011-03-01 17:25:24Z ralph $

## \Zend_Gdata_Query
jump to top

Provides a mechanism to build a query URL for Gdata services.

Queries are not defined for APP, but are provided by Gdata services as an extension.

category
  Zend
copyright
  Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com)
license
  New BSD License
package
  Zend_Gdata
subpackage
  Gdata

### Properties

`string $_category= 'null'`

Category for the query

Default value `null` Details

Type
  string

`string $_defaultFeedUri= 'null'`

Default URL

Default value `null` Details

Type
  string

`array $_params= 'array'`

Query parameters.

Default value `array` Details

Type
  array

`string $_url= 'null'`

Base URL TODO: Add setters and getters

Default value `null` Details

Type
  string

### Methods

`__construct( $url = null ) : void`

Create Gdata_Query object

Parameters

Name | Type | Description
--- | --- | ---
$url |  |

`__get( $name ) : void`

Parameters

Name | Type | Description
--- | --- | ---
$name |  |

`__set( $name, $val ) : void`

Parameters

Name | Type | Description
--- | --- | ---
$name |  |
$val |  |

`getAlt( ) : string`

Returns

Type | Description
--- | ---
string | rss or atom

`getAuthor( ) : string`

Returns

Type | Description
--- | ---
string | author

`getCategory( ) : void`

`getMaxResults( ) : int`

Returns

Type | Description
--- | ---
int | maxResults

`getParam( string $name ) : void`

Parameters

Name | Type | Description
--- | --- | ---
$name | string |

`getPublishedMax( ) : string`

Returns

Type | Description
--- | ---
string | publishedMax

`getPublishedMin( ) : string`

Returns

Type | Description
--- | ---
string | publishedMin

`getQuery( ) : string`

Returns

Type | Description
--- | ---
string | query

`getQueryString( ) : string`

Returns

Type | Description
--- | ---
string | querystring

`getQueryUrl( ) : string`

Returns

Type | Description
--- | ---
string | url

`getStartIndex( ) : int`

Returns

Type | Description
--- | ---
int | startIndex

`getUpdatedMax( ) : string`

Returns

Type | Description
--- | ---
string | updatedMax

`getUpdatedMin( ) : string`

Returns

Type | Description
--- | ---
string | updatedMin

`resetParameters( ) : void`

`setAlt( string $value ) : \Zend_Gdata_Query`

Parameters

Name | Type | Description
--- | --- | ---
$value | string |

Returns

Type | Description
--- | ---
\Zend_Gdata_Query | Provides a fluent interface

`setAuthor( string $value ) : \Zend_Gdata_Query`

Parameters

Name | Type | Description
--- | --- | ---
$value | string |

Returns

Type | Description
--- | ---
\Zend_Gdata_Query | Provides a fluent interface

`setCategory( string $value ) : \Zend_Gdata_Query`

Parameters

Name | Type | Description
--- | --- | ---
$value | string |

Returns

Type | Description
--- | ---
\Zend_Gdata_Query | Provides a fluent interface

`setMaxResults( int $value ) : \Zend_Gdata_Query`

Parameters

Name | Type | Description
--- | --- | ---
$value | int |

Returns

Type | Description
--- | ---
\Zend_Gdata_Query | Provides a fluent interface

`setParam( string $name, string $value ) : \Zend_Gdata_Query`

Parameters

Name | Type | Description
--- | --- | ---
$name | string |
$value | string |

Returns

Type | Description
--- | ---
\Zend_Gdata_Query | Provides a fluent interface

`setPublishedMax( string $value ) : \Zend_Gdata_Query`

Parameters

Name | Type | Description
--- | --- | ---
$value | string |

Returns

Type | Description
--- | ---
\Zend_Gdata_Query | Provides a fluent interface

`setPublishedMin( string $value ) : \Zend_Gdata_Query`

Parameters

Name | Type | Description
--- | --- | ---
$value | string |

Returns

Type | Description
--- | ---
\Zend_Gdata_Query | Provides a fluent interface

`setQuery( string $value ) : \Zend_Gdata_Query`

Parameters

Name | Type | Description
--- | --- | ---
$value | string |

Returns

Type | Description
--- | ---
\Zend_Gdata_Query | Provides a fluent interface

`setStartIndex( int $value ) : \Zend_Gdata_Query`

Parameters

Name | Type | Description
--- | --- | ---
$value | int |

Returns

Type | Description
--- | ---
\Zend_Gdata_Query | Provides a fluent interface

`setUpdatedMax( string $value ) : \Zend_Gdata_Query`

Parameters

Name | Type | Description
--- | --- | ---
$value | string |

Returns

Type | Description
--- | ---
\Zend_Gdata_Query | Provides a fluent interface

`setUpdatedMin( string $value ) : \Zend_Gdata_Query`

Parameters

Name | Type | Description
--- | --- | ---
$value | string |

Returns

Type | Description
--- | ---
\Zend_Gdata_Query | Provides a fluent interface

Documentation was generated by DocBlox 0.13.3.