Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
Класс HtmlContent
+ Граф наследования: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 ()
 

Защищенные члены

 collectAssetsPathList ()
 
 getJsList ()
 
 getCssList ()
 
 getStringList ()
 
- Защищенные члены унаследованные от HttpResponse
 flushStatus ()
 
 flushHeader ($header)
 
 setCookie (Web\Cookie $cookie)
 
 getServerProtocol ()
 
- Защищенные члены унаследованные от Response
 checkContent ($content)
 
 writeBody ($text)
 

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

- Открытые статические члены унаследованные от 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'
 
- Защищенные данные унаследованные от Json
 $data
 
 $jsonEncodingOptions = 0
 
- Защищенные данные унаследованные от HttpResponse
 $cookies = []
 
 $headers
 
 $lastModified
 
- Защищенные данные унаследованные от Response
 $content
 

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

Response type for rendering ajax html content from action

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

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

◆ __construct()

__construct ( ContentAreaInterface $content,
$status = self::STATUS_SUCCESS,
ErrorCollection $errorCollection = null,
array $additionalResponseParams = [] )
Аргументы
ContentAreaInterface$content
string$status
ErrorCollection | null$errorCollection
array$additionalResponseParams

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

Методы

◆ collectAssetsPathList()

collectAssetsPathList ( )
finalprotected

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

◆ getCssList()

getCssList ( )
finalprotected
Возвращает
array

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

◆ getJsList()

getJsList ( )
finalprotected
Возвращает
array

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

◆ getStringList()

getStringList ( )
finalprotected
Возвращает
array

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