class Ac extends AbstractWidget
{
/**
* The configuration array.
*
* @var array
*/
protected $config = [
'block_id' => null,
'site_id' => null,
'type' => null,
'view' => null,
'block_title' => null,
'block_offer' => null,
'block_description' => null,
'image' => null,
'form' => null,
'form_id' => null,
'form_btn_name' => null,
'folder' => null,
'pack' => null,
'item' => null,
'size' => null,
'count' => null,
'back' => null,
'main' => null,
'section_id' => null,
'category_id' => null,
'item_id' => null,
];
/**
* Treat this method as a controller action.
* Return view() or other content to display.
*/
public function run()
{
$site_id = $this->config['site_id'];
$view = $this->config['view'];
$type = $this->config['type'];
$manager_id = $this->config['manager_id'];
$item = $this->config['item'];
$count = $this->config['count'];
$back = $this->config['back'];
$block_id = $this->config['block_id'];
$block_title = $this->config['block_title'];
....