1. Go to this page and download the library: Download riesenia/pohoda library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
use Riesenia\Pohoda;
$pohoda = new Pohoda('ICO');
// create request for deletion
$pohoda->open($filename, 'd_zas1', 'Delete stock');
$stock = $pohoda->createStock([]);
$stock->addActionType('delete', [
'code' => $code
]);
$pohoda->addItem($code, $stock);
$pohoda->close();
use Riesenia\Pohoda;
class Capitalizer implements \Riesenia\Pohoda\ValueTransformer\ValueTransformer
{
public function transform(string $value): string
{
return \strtoupper($value);
}
}
// Register the capitalizer to be used to capitalize values
Pohoda::$transformers[] = new Capitalizer();
$pohoda = new Pohoda('ICO');
...
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.