Class Zend_Gdata_App_Util

Description

Utility class for static functions needed by Zend_Gdata_App

  • copyright: Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
  • license: New BSD License

Located in /Gdata/App/Util.php (line 33)


	
			
Method Summary
 static mixed findGreatestBoundedValue (integer|null $maximumKey, array $collection)
 static void formatTimestamp (int $timestamp)
Methods
static findGreatestBoundedValue (line 73)

Find the greatest key that is less than or equal to a given upper bound, and return the value associated with that key.

  • return: The value corresponding to the located key.
  • throws: Zend_Gdata_App_Exception Thrown if $collection is empty.
  • access: public
static mixed findGreatestBoundedValue (integer|null $maximumKey, array $collection)
  • integer|null $maximumKey: The upper bound for keys. If null, the maxiumum valued key will be found.
  • array $collection: An two-dimensional array of key/value pairs to search through.
static formatTimestamp (line 43)

Convert timestamp into RFC 3339 date string.

2005-04-19T15:30:00

  • throws: Zend_Gdata_App_InvalidArgumentException
  • access: public
static void formatTimestamp (int $timestamp)
  • int $timestamp

Documentation generated on Mon, 21 Jun 2010 15:51:19 -0400 by phpDocumentor 1.4.3