SproutCMS

This is the code documentation for the SproutCMS project

function getActivePromos()

Return list of active promos for given home page

Usage

array HomePages::getActivePromos ( int $homepage_id , int $limit );

Arguments

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

Return value

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