SproutCMS

This is the code documentation for the SproutCMS project

function fieldMethodClass()

Convert a full method name (e.g. Sprout\Helpers\Fb::text) into a friendly class name

The classes Fb and Form aren't emitted, but all other class names are

Usage

string Form::fieldMethodClass ( string $method );

Arguments

  1. string $method
    Full original method name, in namespace\class::method format

Return value

  • string
    HTML-safe name for use in a CSS class