API Documentation

Gdata/App/Util.php

Classes 
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Gdata
subpackage
App
version
$Id: Util.php 20096 2010-01-06 02:05:09Z bkarwin $
Classes
Zend_Gdata_App_Util

Description

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.

Zend_Gdata_App_Util

category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Gdata
subpackage
App
Methods
formatTimestamp
findGreatestBoundedValue

Description

Utility class for static functions needed by Zend_Gdata_App

Methods

findGreatestBoundedValue

findGreatestBoundedValue( integer|null $maximumKey, array $collection ) :

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

Arguments
$maximumKey
integernull
The upper bound for keys. If null, the maxiumum valued key will be found.
$collection
array
An two-dimensional array of key/value pairs to search through.
Details
visibility
public
final
false
static
true
returns
mixed The value corresponding to the located key.
throws
Thrown if $collection is empty.

formatTimestamp

formatTimestamp( int $timestamp ) :

Convert timestamp into RFC 3339 date string.

2005-04-19T15:30:00

Arguments
$timestamp
int
Details
visibility
public
final
false
static
true
throws
Documentation was generated by DocBlox.