SproutCMS

This is the code documentation for the SproutCMS project

function getActiveBanners()

Return list of active banners for given home page

Usage

array HomePages::getActiveBanners ( int $homepage_id [, int $limit ] );

Arguments

  1. int $homepage_id
    Home page record ID
  2. int $limit = 0
    Optional number of results. Default of zero/unlimited

Return value

  • array
    Multiple database rows; heading, description, link, link_label, filename