1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
Класс Component
Граф наследования:Component:
HtmlContent AjaxJson Json Errorable HttpResponse Response

Открытые члены

 __construct ($componentName, $componentTemplate='', array $componentParams=[], array $additionalResponseParams=[], $dataKeys=[])
Открытые члены унаследованные от HtmlContent
 __construct (ContentAreaInterface $content, $status=self::STATUS_SUCCESS, ErrorCollection $errorCollection=null, array $additionalResponseParams=[])
Открытые члены унаследованные от AjaxJson
 __construct ($data=null, $status=self::STATUS_SUCCESS, ErrorCollection $errorCollection=null)
 setData ($data)
 getErrors ()
 getErrorByCode ($code)
Открытые члены унаследованные от Json
 __construct ($data=null, $options=0)
 send ()
Открытые члены унаследованные от HttpResponse
 __construct ()
 flush ($text='')
 addHeader ($name, $value='')
 setHeaders (Web\HttpHeaders $headers)
 addCookie (Web\Cookie $cookie, $replace=true, $checkExpires=true)
 allowPersistentCookies ($mode)
 getCookies ()
 getHeaders ()
 setStatus ($status)
 getStatus ()
 setLastModified (Type\DateTime $time)
 redirectTo ($url)
 copyHeadersTo (HttpResponse $response)
Открытые члены унаследованные от Response
 clear ()
 setContent ($content)
 appendContent ($content)
 getContent ()

Дополнительные унаследованные члены

Открытые статические члены унаследованные от AjaxJson
static createSuccess ($data=null)
static createError (ErrorCollection $errorCollection=null, $data=null)
static createDenied (ErrorCollection $errorCollection=null, $data=null)
Поля данных унаследованные от AjaxJson
const STATUS_SUCCESS = 'success'
const STATUS_DENIED = 'denied'
const STATUS_ERROR = 'error'
Поля данных унаследованные от HttpResponse
const STORE_COOKIE_NAME = 'STORE_COOKIES'
Защищенные члены унаследованные от HtmlContent
 collectAssetsPathList ()
 getJsList ()
 getCssList ()
 getStringList ()
Защищенные члены унаследованные от HttpResponse
 flushStatus ()
 flushHeader ($header)
 setCookie (Web\Cookie $cookie)
 getServerProtocol ()
Защищенные члены унаследованные от Response
 checkContent ($content)
 writeBody ($text)
Защищенные данные унаследованные от Json
 $data
 $jsonEncodingOptions = 0
Защищенные данные унаследованные от HttpResponse
 $cookies = []
 $headers
 $lastModified
Защищенные данные унаследованные от Response
 $content

Подробное описание

См. определение в файле component.php строка 4

Конструктор(ы)

◆ __construct()

__construct ( $componentName,
$componentTemplate = '',
array $componentParams = [],
array $additionalResponseParams = [],
$dataKeys = [] )

Component constructor.

Аргументы
string$componentName
string$componentTemplate
array$componentParams
array$additionalResponseParams
mixed$dataKeys

См. определение в файле component.php строка 15


Объявления и описания членов класса находятся в файле: