feat: Add comprehensive documentation suite and reorganize project structure
- Created complete documentation in docs/ directory - Added PROJECT_OVERVIEW.md with feature highlights and getting started guide - Added ARCHITECTURE.md with system design and technical details - Added SECURITY.md with comprehensive security implementation guide - Added DEVELOPMENT.md with development workflows and best practices - Added DEPLOYMENT.md with production deployment instructions - Added API.md with complete REST API documentation - Added CONTRIBUTING.md with contribution guidelines - Added CHANGELOG.md with version history and migration notes - Reorganized all documentation files into docs/ directory for better organization - Updated README.md with proper documentation links and quick navigation - Enhanced project structure with professional documentation standards
This commit is contained in:
74
Zend/Gdata/Gbase/SnippetQuery.php
Normal file
74
Zend/Gdata/Gbase/SnippetQuery.php
Normal file
@@ -0,0 +1,74 @@
|
||||
<?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
|
||||
* @package Zend_Gdata
|
||||
* @subpackage Gbase
|
||||
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: SnippetQuery.php 24594 2012-01-05 21:27:01Z matthew $
|
||||
*/
|
||||
|
||||
/**
|
||||
* Zend_Gdata_Query
|
||||
*/
|
||||
require_once('Zend/Gdata/Query.php');
|
||||
|
||||
/**
|
||||
* Zend_Gdata_Gbase_Query
|
||||
*/
|
||||
require_once('Zend/Gdata/Gbase/Query.php');
|
||||
|
||||
/**
|
||||
* Assists in constructing queries for Google Base Snippets Feed
|
||||
*
|
||||
* @link http://code.google.com/apis/base/
|
||||
*
|
||||
* @category Zend
|
||||
* @package Zend_Gdata
|
||||
* @subpackage Gbase
|
||||
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
*/
|
||||
class Zend_Gdata_Gbase_SnippetQuery extends Zend_Gdata_Gbase_Query
|
||||
{
|
||||
/**
|
||||
* Path to the snippets feeds on the Google Base server.
|
||||
*/
|
||||
const BASE_SNIPPET_FEED_URI = 'https://www.google.com/base/feeds/snippets';
|
||||
|
||||
/**
|
||||
* The default URI for POST methods
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
protected $_defaultFeedUri = self::BASE_SNIPPET_FEED_URI;
|
||||
|
||||
/**
|
||||
* Returns the query URL generated by this query instance.
|
||||
*
|
||||
* @return string The query URL for this instance.
|
||||
*/
|
||||
public function getQueryUrl()
|
||||
{
|
||||
$uri = $this->_defaultFeedUri;
|
||||
if ($this->getCategory() !== null) {
|
||||
$uri .= '/-/' . $this->getCategory();
|
||||
}
|
||||
$uri .= $this->getQueryString();
|
||||
return $uri;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user