Zend Framework  1.12
Static Public Member Functions | List of all members
Zend_Service_Technorati_Utils Class Reference

Static Public Member Functions

static normalizeUriHttp ($input)
 Parses, validates and returns a valid Zend_Uri object from given $input.
 
static normalizeDate ($input)
 Parses, validates and returns a valid Zend_Date object from given $input.
 

Member Function Documentation

static normalizeDate (   $input)
static

Parses, validates and returns a valid Zend_Date object from given $input.

$input can be either a string, an integer or a Zend_Date object. If $input is string or int, it will be provided to Zend_Date as it is. If $input is a Zend_Date object, the object instance will be returned.

Parameters
mixed | Zend_Date$input
Returns
null|Zend_Date
Exceptions
Zend_Service_Technorati_Exception
See Also
Zend_Date
Zend_Locale
Zend_Service_Technorati_Exception
static normalizeUriHttp (   $input)
static

Parses, validates and returns a valid Zend_Uri object from given $input.

Parameters
string | Zend_Uri_Http$input
Returns
null|Zend_Uri_Http
Exceptions
Zend_Service_Technorati_Exception
See Also
Zend_Uri
Zend_Service_Technorati_Exception
Zend_Service_Technorati_Exception