Documentation

GetHTML

text
CAdvBanner::GetHTML(
 array arrBanner
);

The method returns a ready to use HTML code of the banner. Non-static method.

Method parameters

Parameters Description Available from version
arrBanner An array with the banner parameters. The following parameters are required and sufficient for the successful call:
  • IMAGE_ID - the ID of a banner image (if used);
  • IMAGE_ALT - tooltip for an image (if used);
  • URL - link which is opened upon click on a banner;
  • URL_TARGET - value of the target attribute of the tag <a>;
  • CODE - banner code (if used);
  • CODE_TYPE - type of the banner code (text or html).
bNoIndex Optional parameter. 8.6.0



© «Bitrix24», 2001-2024
Up