SproutCMS

This is the code documentation for the SproutCMS project

function hasFeature()

Is the given feature currently available?

Usage

bool Register::hasFeature ( string $code );

Arguments

  1. string $code
    The feature code. Only one in use at this time, 'users'

Return value

  • bool
    True if the feature is available