This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$headers = array( | |
'X-PAYPAL-APPLICATION-ID' => 'APP-1234567890', | |
'X-PAYPAL-REQUEST-DATA-FORMAT' => 'NV', | |
'X-PAYPAL-RESPONSE-DATA-FORMAT' => 'NV' | |
); | |
$headerStrings = array_map(function ($key, $value) { | |
return $key . ': ' . $value; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
load 'deploy' if respond_to?(:namespace) # cap2 differentiator | |
load 'application/configs/deploy' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Helper to generate a "submit" button without a name attribute | |
* | |
* @category Noginn | |
* @package Noginn_View | |
* @subpackage Helper | |
*/ | |
class Noginn_View_Helper_FormSubmitAnonymous extends Zend_View_Helper_FormElement |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* This file contains a simple function for consuming the ErnestMarples.com postcode | |
* geocoding API (http://ernestmarples.com/). The original function was written | |
* by Stuart Harrison, I just adapted it to not rely on file_get_contents. | |
* | |
* @author Tom Graham (adapted from Stuart Harrison's function) | |
* @link http://www.pezholio.co.uk/2009/07/ernest-marples-php-helper-function/ | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* @package Whitewashing | |
* | |
*/ | |
class Whitewashing_Controller_Helper_Container extends Zend_Controller_Action_Helper_Abstract | |
{ | |
/** | |
* @var Yadif_Container | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Testing | |
Another test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This is a test updated |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Sends a file for download | |
* | |
* @category Noginn | |
* @copyright Copyright (c) 2009 Tom Graham (http://www.noginn.com) | |
* @license http://www.opensource.org/licenses/mit-license.php | |
*/ | |
class Noginn_Controller_Action_Helper_SendFile extends Zend_Controller_Action_Helper_Abstract |