include/connectors/sources/SourceFactory.php

Show: inherited
Table of Contents

\SourceFactory

Package: SugarCRM

Provides a factory to loading a connector along with any key->value options to initialize on the source. The name of the class to be loaded, corresponds to the path on the file system. For example a source with the name ext_soap_hoovers would be ext/soap/hoovers.php

Api
 

Methods

methodpublicgetSource(  $class,  $call_init = true ) : \source
static

Given a source param, load the correct source and return the object

Parameters
Name Type Description
$class
$call_init
Returns
Type Description
\source
Documentation was generated by DocBlox 0.18.1.