Documentation

CAdvBanner

This class provides programming interface for handling banners.

Methods

Method Description
  • Set
  • Creates a new or modifies an existing banner.
  • Getlist
  • Returns a list of banners.
  • GetByID
  • Returns a banner given its ID.
  • Delete
  • Deletes a banner.
  • Show
  • Selects a random banner of the specified type and returns a ready to use HTML code of the banner.
  • Click
  • Registers a banner click in the database.
  • FixShow
  • Registers the display of a banner in the database.
  • GetRandom
  • Selects and returns a random banner of the specified type, according to priority of each banner in the system.
  • GetHTML
  • Returns a ready to use HTML code of the banner.
  • GetKeywords
  • Returns all or part of an array containing keyword specified for the given page.
  • ResetKeywords
  • Deletes keywords assigned to a page.
  • SetDesiredKeywords
  • Assigns a set of desired keywords to a given page.
  • SetRequiredKeywords
  • Assigns a set of required keywords to a given page.
    © «Bitrix24», 2001-2024