include/connectors/formatters/FormatterFactory.php

Show: inherited
Table of Contents

\FormatterFactory

Package: SugarCRM

Formatter factory

Api
 

Properties

Propertypublic  $formatter_map= 'array()'
static
Default valuearray()Details
Type
n/a

Methods

methodpublicgetInstance( \$source_name $source_name, \$formatter_name $formatter_name = '' ) : \$instance
static

getInstance This method returns a formatter instance for the given source name and formatter name. If no formatter name is specified, the default formatter for the source is used.

Parameters
Name Type Description
$source_name \$source_name

The data source name to retreive formatter for

$formatter_name \$formatter_name

Optional formatter name to use

Returns
Type Description
\$instance The formatter instance
Documentation was generated by DocBlox 0.18.1.