SproutCMS

This is the code documentation for the SproutCMS project

function setDropdownTop()

Sets the text for the top item of dropdown lists.
Set to an empty string to not show the top item.
This will be reset to the default value after every call to Fb::dropdown

Usage

This function is deprecated
Set the special attribute "-dropdown-top" when calling the dropdowns

Arguments

  1. string $label
    The data to put in the first OPTION, with its value being an empty string

Return value

  • void