import v2.0.0.0_RC3 | 2012-07-01

https://github.com/lucanos/CommunityID -> http://www.itadmins.net/archives/357
This commit is contained in:
2019-07-17 22:31:04 +02:00
parent 38c146901c
commit 2f397f01f7
2677 changed files with 296182 additions and 45159 deletions

0
libs/Zend/Gdata/Health/Extension/Ccr.php Executable file → Normal file
View File

16
libs/Zend/Gdata/Health/ProfileEntry.php Executable file → Normal file
View File

@ -18,7 +18,7 @@
* @subpackage Health
* @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @version $Id: ProfileEntry.php 16541 2009-07-07 06:59:03Z bkarwin $
* @version $Id: ProfileEntry.php 18951 2009-11-12 16:26:19Z alexander $
*/
/**
@ -57,7 +57,7 @@ class Zend_Gdata_Health_ProfileEntry extends Zend_Gdata_Entry
* @var Zend_Gdata_Health_Extension_Ccr
*/
protected $_ccrData = null;
/**
* Constructs a new Zend_Gdata_Health_ProfileEntry object.
* @param DOMElement $element (optional) The DOMElement on which to base this object.
@ -85,7 +85,7 @@ class Zend_Gdata_Health_ProfileEntry extends Zend_Gdata_Entry
if ($this->_ccrData !== null) {
$element->appendChild($this->_ccrData->getDOM($element->ownerDocument));
}
return $element;
}
@ -102,14 +102,14 @@ class Zend_Gdata_Health_ProfileEntry extends Zend_Gdata_Entry
if (strstr($absoluteNodeName, $this->lookupNamespace('ccr') . ':')) {
$ccrElement = new Zend_Gdata_Health_Extension_Ccr();
$ccrElement->transferFromDOM($child);
$this->_ccrData = $ccrElement;
$this->_ccrData = $ccrElement;
} else {
parent::takeChildFromDOM($child);
}
}
/**
/**
* Sets the profile entry's CCR data
* @param string $ccrXMLStr The CCR as an xml string
* @return Zend_Gdata_Health_Extension_Ccr
@ -125,7 +125,7 @@ class Zend_Gdata_Health_ProfileEntry extends Zend_Gdata_Entry
}
/**
/**
* Returns all the CCR data in a profile entry
* @return Zend_Gdata_Health_Extension_Ccr
*/

4
libs/Zend/Gdata/Health/ProfileFeed.php Executable file → Normal file
View File

@ -18,7 +18,7 @@
* @subpackage Health
* @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @version $Id: ProfileFeed.php 16541 2009-07-07 06:59:03Z bkarwin $
* @version $Id: ProfileFeed.php 18951 2009-11-12 16:26:19Z alexander $
*/
/**
@ -45,7 +45,7 @@ class Zend_Gdata_Health_ProfileFeed extends Zend_Gdata_Feed
* @var string
*/
protected $_entryClassName = 'Zend_Gdata_Health_ProfileEntry';
/**
* Creates a Health Profile feed, representing a user's Health profile
*

10
libs/Zend/Gdata/Health/ProfileListEntry.php Executable file → Normal file
View File

@ -18,7 +18,7 @@
* @subpackage Health
* @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @version $Id: ProfileListEntry.php 16541 2009-07-07 06:59:03Z bkarwin $
* @version $Id: ProfileListEntry.php 18951 2009-11-12 16:26:19Z alexander $
*/
/**
@ -80,16 +80,16 @@ class Zend_Gdata_Health_ProfileListEntry extends Zend_Gdata_Entry
{
parent::takeChildFromDOM($child);
}
/**
/**
* Retrieves the profile ID for the entry, which is contained in <atom:content>
* @return string The profile id
*/
public function getProfileID() {
return $this->getContent()->text;
}
/**
/**
* Retrieves the profile's title, which is contained in <atom:title>
* @return string The profile name
*/

4
libs/Zend/Gdata/Health/ProfileListFeed.php Executable file → Normal file
View File

@ -18,7 +18,7 @@
* @subpackage Health
* @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @version $Id: ProfileListFeed.php 16541 2009-07-07 06:59:03Z bkarwin $
* @version $Id: ProfileListFeed.php 18951 2009-11-12 16:26:19Z alexander $
*/
/**
@ -45,7 +45,7 @@ class Zend_Gdata_Health_ProfileListFeed extends Zend_Gdata_Feed
* @var string
*/
protected $_entryClassName = 'Zend_Gdata_Health_ProfileListEntry';
public function getEntries()
{
return $this->entry;

38
libs/Zend/Gdata/Health/Query.php Executable file → Normal file
View File

@ -18,7 +18,7 @@
* @subpackage Health
* @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @version $Id: Query.php 16541 2009-07-07 06:59:03Z bkarwin $
* @version $Id: Query.php 18951 2009-11-12 16:26:19Z alexander $
*/
/**
@ -101,7 +101,7 @@ class Zend_Gdata_Health_Query extends Zend_Gdata_Query
*/
public function setCategory($item, $name = null)
{
$this->_category = $item .
$this->_category = $item .
($name ? '/' . urlencode('{' . self::ITEM_CATEGORY_NS . '}' . $name) : null);
return $this;
}
@ -133,7 +133,7 @@ class Zend_Gdata_Health_Query extends Zend_Gdata_Query
/**
* Returns the value set for the grouped parameter.
*
* @return string grouped parameter.
* @return string grouped parameter.
*/
public function getGrouped()
{
@ -143,11 +143,11 @@ class Zend_Gdata_Health_Query extends Zend_Gdata_Query
return null;
}
}
/**
* Setter for the max-results-group parameter.
*
* @param int $value Specifies the maximum number of groups to be
* @param int $value Specifies the maximum number of groups to be
* retrieved. Must be an integer value greater than zero. This parameter
* is only valid if grouped=true.
* @return Zend_Gdata_Health_Query Provides a fluent interface
@ -159,7 +159,7 @@ class Zend_Gdata_Health_Query extends Zend_Gdata_Query
require_once 'Zend/Gdata/App/InvalidArgumentException.php';
throw new Zend_Gdata_App_InvalidArgumentException(
'The max-results-group parameter must be set to a value
greater than 0 and can only be used if grouped=true');
greater than 0 and can only be used if grouped=true');
} else {
$this->_params['max-results-group'] = $value;
}
@ -170,7 +170,7 @@ class Zend_Gdata_Health_Query extends Zend_Gdata_Query
/**
* Returns the value set for max-results-group.
*
* @return int Returns max-results-group parameter.
* @return int Returns max-results-group parameter.
*/
public function getMaxResultsGroup()
{
@ -184,9 +184,9 @@ class Zend_Gdata_Health_Query extends Zend_Gdata_Query
/**
* Setter for the max-results-group parameter.
*
* @param int $value Specifies the maximum number of records to be
* retrieved from each group. The limits that you specify with this
* parameter apply to all groups. Must be an integer value greater than
* @param int $value Specifies the maximum number of records to be
* retrieved from each group. The limits that you specify with this
* parameter apply to all groups. Must be an integer value greater than
* zero. This parameter is only valid if grouped=true.
* @return Zend_Gdata_Health_Query Provides a fluent interface
*/
@ -195,8 +195,8 @@ class Zend_Gdata_Health_Query extends Zend_Gdata_Query
if ($value !== null) {
if ($value <= 0 || $this->getGrouped() !== 'true') {
throw new Zend_Gdata_App_InvalidArgumentException(
'The max-results-in-group parameter must be set to a value
greater than 0 and can only be used if grouped=true');
'The max-results-in-group parameter must be set to a value
greater than 0 and can only be used if grouped=true');
} else {
$this->_params['max-results-in-group'] = $value;
}
@ -207,7 +207,7 @@ class Zend_Gdata_Health_Query extends Zend_Gdata_Query
/**
* Returns the value set for max-results-in-group.
*
* @return int Returns max-results-in-group parameter.
* @return int Returns max-results-in-group parameter.
*/
public function getMaxResultsInGroup()
{
@ -221,9 +221,9 @@ class Zend_Gdata_Health_Query extends Zend_Gdata_Query
/**
* Setter for the start-index-group parameter.
*
* @param int $value Retrieves only items whose group ranking is at
* @param int $value Retrieves only items whose group ranking is at
* least start-index-group. This should be set to a 1-based index of the
* first group to be retrieved. The range is applied per category.
* first group to be retrieved. The range is applied per category.
* This parameter is only valid if grouped=true.
* @return Zend_Gdata_Health_Query Provides a fluent interface
*/
@ -231,7 +231,7 @@ class Zend_Gdata_Health_Query extends Zend_Gdata_Query
{
if ($value !== null && $this->getGrouped() !== 'true') {
throw new Zend_Gdata_App_InvalidArgumentException(
'The start-index-group can only be used if grouped=true');
'The start-index-group can only be used if grouped=true');
} else {
$this->_params['start-index-group'] = $value;
}
@ -241,7 +241,7 @@ class Zend_Gdata_Health_Query extends Zend_Gdata_Query
/**
* Returns the value set for start-index-group.
*
* @return int Returns start-index-group parameter.
* @return int Returns start-index-group parameter.
*/
public function getStartIndexGroup()
{
@ -255,7 +255,7 @@ class Zend_Gdata_Health_Query extends Zend_Gdata_Query
/**
* Setter for the start-index-in-group parameter.
*
* @param int $value A 1-based index of the records to be retrieved from
* @param int $value A 1-based index of the records to be retrieved from
* each group. This parameter is only valid if grouped=true.
* @return Zend_Gdata_Health_Query Provides a fluent interface
*/
@ -272,7 +272,7 @@ class Zend_Gdata_Health_Query extends Zend_Gdata_Query
/**
* Returns the value set for start-index-in-group.
*
* @return int Returns start-index-in-group parameter.
* @return int Returns start-index-in-group parameter.
*/
public function getStartIndexInGroup()
{