PHP code example of se7enxweb / bccie

1. Go to this page and download the library: Download se7enxweb/bccie 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/ */

    

se7enxweb / bccie example snippets



class myDatatypeHandler extends BaseHandler
{
    function exportAttribute( &$attribute, $separationChar )
    {
        return $this->escape( $attribute->content(), $separationChar );
    }
}
ini
   [ExtensionSettings]
   ActiveExtensions[]=bccie
   
bash
   php bin/php/ezpgenerateautoloads.php -e
   php bin/php/ezcache.php --clear-all
   
bash
php runcronjobs.php exportcsv
php runcronjobs.php exportsylk
ini
[General]
ExportableDatatypes[]=mydatatype

[mydatatype]
HandlerFile=mydatatypehandler.php
HandlerClass=myDatatypeHandler
bash
php vendor/bin/phpunit extension/bccie/tests/