SproutCMS

This is the code documentation for the SproutCMS project

function getForSubSite()

Return home page record for given sub-site

Usage

array HomePages::getForSubSite ( [ int $subsite_id ] );

Arguments

  1. int $subsite_id = 0
    Sub-site record ID. Default of zero/auto

Exceptions thrown

  • QueryException

Return value

  • array
    Single database row