This file contains hidden or 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
/** | |
RESULTS | |
Array | |
( | |
[PROFESSOR PACCO] => 2 | |
[VAIDON OLIVEIRA] => 7 | |
[RENATO ANDRADE] => 10 | |
[ROSSONI] => 13 | |
[JARBAS VASCONCELOS] => 13 |
This file contains hidden or 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 | |
class CategoryTreeTest extends PHPUnit_Framework_TestCase | |
{ | |
/** | |
* @return array | |
*/ | |
public function getCategories(){ | |
$root = [ | |
'id' => 'root', |
This file contains hidden or 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 | |
/** | |
* BSeller Platform | B2W - Companhia Digital | |
* | |
* Do not edit this file if you want to update this module for future new versions. | |
* | |
* @category Esmart | |
* @package Esmart_BSellerApi | |
* | |
* @copyright Copyright (c) 2016 B2W Digital - BSeller Platform. (http://www.bseller.com.br) |
This file contains hidden or 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 | |
// SIMULATE PAYPAL IPN LOCALLY | |
// | |
// Sometimes you need to test on your local host and this can be difficult due | |
// to IP routing issues. Use this code on your local machine to simulate the | |
// same process that the sandbox IPN simulator does when posting to your URL. | |
// | |
// Run this code in command line or via the browser. It will post IPN data just | |
// like Paypal would. If the code you've written to process your IPN data | |
// posts back to the sandbox, it should come back as valid. |