3.8.6. setDatasource()

void setDatasource ( mixed $source )

If the component uses an external data source (for example a section array), it could be passed to it using this method. In the template, it is called for the datasource parameter in the main component tag.