SproutCMS

This is the code documentation for the SproutCMS project

function pageDropdown()

Deprecated wrapper around Fb::pageDropdown

Usage

void Admin::pageDropdown ( string $field_name [, int $selected [, int $exclude [, int $subsite_id [, string $top_text ]]]] );

Arguments

  1. string $field_name
    The name of the field
  2. int $selected = NULL
    The id of the page to select
  3. int $exclude = NULL
    The id of the page to exclude from the list
  4. int $subsite_id = NULL
    The subsite of pages to show. Defaults to the current admin subsite
  5. string $top_text = None (top level page)
    Text for the top (id 0) item

Return value

  • void