SproutCMS

This is the code documentation for the SproutCMS project

function getData()

Gets the data for a single field from the data array

Properly handles PHP sub-arrays (e.g. 'options[food]'), doesn't handle
anon arrays though (e.g. 'options[]').

Usage

mixed Fb::getData ( string $name );

Arguments

  1. string $name
    The field name

Return value

  • mixed
    The value (often a string)