[ Index ] |
PHP Cross Reference of moodle-2.8 |
[Summary view] [Print] [Text view]
1 <?php 2 /** 3 * Zend Framework 4 * 5 * LICENSE 6 * 7 * This source file is subject to the new BSD license that is bundled 8 * with this package in the file LICENSE.txt. 9 * It is also available through the world-wide-web at this URL: 10 * http://framework.zend.com/license/new-bsd 11 * If you did not receive a copy of the license and are unable to 12 * obtain it through the world-wide-web, please send an email 13 * to [email protected] so we can send you a copy immediately. 14 * 15 * @category Zend 16 * @package Zend_Service_WindowsAzure 17 * @subpackage RetryPolicy 18 * @version $Id$ 19 * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com) 20 * @license http://framework.zend.com/license/new-bsd New BSD License 21 */ 22 23 /** 24 * @see Zend_Service_WindowsAzure_RetryPolicy_RetryPolicyAbstract 25 */ 26 require_once 'Zend/Service/WindowsAzure/RetryPolicy/RetryPolicyAbstract.php'; 27 28 /** 29 * @category Zend 30 * @package Zend_Service_WindowsAzure 31 * @subpackage RetryPolicy 32 * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com) 33 * @license http://framework.zend.com/license/new-bsd New BSD License 34 */ 35 class Zend_Service_WindowsAzure_RetryPolicy_NoRetry extends Zend_Service_WindowsAzure_RetryPolicy_RetryPolicyAbstract 36 { 37 /** 38 * Execute function under retry policy 39 * 40 * @param string|array $function Function to execute 41 * @param array $parameters Parameters for function call 42 * @return mixed 43 */ 44 public function execute($function, $parameters = array()) 45 { 46 $returnValue = null; 47 48 try 49 { 50 $returnValue = call_user_func_array($function, $parameters); 51 return $returnValue; 52 } 53 catch (Exception $ex) 54 { 55 throw $ex; 56 } 57 } 58 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Fri Nov 28 20:29:05 2014 | Cross-referenced by PHPXref 0.7.1 |