403Webshell
Server IP : 80.87.202.40  /  Your IP : 216.73.216.169
Web Server : Apache
System : Linux rospirotorg.ru 5.14.0-539.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Dec 5 22:26:13 UTC 2024 x86_64
User : bitrix ( 600)
PHP Version : 8.2.27
Disable Function : NONE
MySQL : OFF |  cURL : ON |  WGET : ON |  Perl : ON |  Python : OFF |  Sudo : ON |  Pkexec : ON
Directory :  /home/bitrix/ext_www/cvetdv.ru/bitrix/modules/yandex.market/lib/component/base/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : /home/bitrix/ext_www/cvetdv.ru/bitrix/modules/yandex.market/lib/component/base/abstractprovider.php
<?php

namespace Yandex\Market\Component\Base;

use Yandex\Market\Components\AdminFormEdit;
use Yandex\Market\Components\AdminGridList;
use Bitrix\Main;

abstract class AbstractProvider
{
	/** @var AdminFormEdit|AdminGridList */
	protected $component;

	public function __construct(\CBitrixComponent $component, array $componentParameters = [])
	{
		$this->component = $component;
	}

	public function prepareComponentParams(array $componentParameters)
	{
		return $componentParameters;
	}

	public function getComponentResult($key)
	{
		return isset($this->component->arResult[$key])
			? $this->component->arResult[$key]
			: null;
	}

	public function setComponentResult($key, $value)
	{
		$this->component->arResult[$key] = $value;
	}

	/** @deprecated */
	public function getRequiredParams()
	{
		return [];
	}

	/** @deprecated */
	public function getRequiredModules()
	{
		return [];
	}

	public function getComponentParam($key)
	{
		return isset($this->component->arParams[$key])
			? $this->component->arParams[$key]
			: null;
	}

	public function setComponentParam($key, $value)
	{
		$this->component->arParams[$key] = $value;
	}

	public function getComponentLang($key, $replaces = null)
	{
		return $this->component->getLang($key, $replaces);
	}

	/** @return array|null */
	public function processAjaxAction($action, $data)
	{
		throw new Main\NotImplementedException('ACTION_NOT_FOUND');
	}

	public function processPostAction($action, $data)
	{
		throw new Main\NotImplementedException('ACTION_NOT_FOUND');
	}
}

Youez - 2016 - github.com/yon3zu
LinuXploit