Service/Technorati/Utils.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 [email protected] so we can send you a copy immediately.
- Category
- Zend
- Copyright
- Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Package
- Zend_Service
- Subpackage
- Technorati
- Version
- $Id: Utils.php 24593 2012-01-05 20:35:02Z matthew $
\Zend_Service_Technorati_Utils
Collection of utilities for various Zend_Service_Technorati classes.
- Category
- Zend
- Copyright
- Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
Methods


normalizeDate(mixed | \Zend_Date $input) : null | \Zend_Date
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.
Name | Type | Description |
---|---|---|
$input | mixed | \Zend_Date |
Type | Description |
---|---|
null | \Zend_Date |
Exception | Description |
---|---|
\Zend_Service_Technorati_Exception |
- Static


normalizeUriHttp(string | \Zend_Uri_Http $input) : null | \Zend_Uri_Http
Parses, validates and returns a valid Zend_Uri object from given $input.
Name | Type | Description |
---|---|---|
$input | string | \Zend_Uri_Http |
Type | Description |
---|---|
null | \Zend_Uri_Http |
Exception | Description |
---|---|
\Zend_Service_Technorati_Exception |
- Static