SproutCMS

This is the code documentation for the SproutCMS project

function pageDropdown()

Generates a page dropdown selection menu

Just a wrapper for Fb::dropdownTree

Usage

string Fb::pageDropdown ( string $name , array $attrs , array $options );

Arguments

  1. string $name
    The field name
  2. array $attrs
    Extra attributes for the SELECT element
  3. array $options
    Zero or more field options;
       'subsite'  int       Subsite ID to load; default is current subsite
       'exclude'  array     Node IDs to exclude from rendering

Return value

  • string
    HTML