lithium\data\Source::sources()

abstract public method

Returns a list of objects (sources) that models can bind to, i.e. a list of tables in the case of a database, or REST collections, in the case of a web service.

Parameters

  • string $class

    The fully-name-spaced class name of the object making the request.

Returns

array

Returns an array of objects to which models can connect.

Source

	abstract public function sources($class = null);