AlbumAdd extends DataProcessor
Class AlbumAdd - Processor for adding albums to VK
Table of Contents
Methods
- __construct() : mixed
- DataProcessor constructor.
- process() : bool
- Main export process method. Adding albums in VK
Methods
__construct()
DataProcessor constructor.
public
__construct(mixed $exportId) : mixed
Parameters
- $exportId : mixed
-
- int ID of export
process()
Main export process method. Adding albums in VK
public
process([mixed $data = null ][, null $timer = null ]) : bool
Parameters
- $data : mixed = null
-
- array of albums to export. Max 25 items
- $timer : null = null
-
- Tradingplatform\Timer to control execution time
Tags
Return values
bool —- return true if OK or if errors it not critical. Expression if timer is over