Documentation

DataSourceInterface

Table of Contents

Methods

connect()  : void
Initialize the data source connection
disconnect()  : void
Close the data source connection
getConnectionInfo()  : array<string|int, mixed>
Get connection status and details
isConnected()  : bool
Check if connection is active

Methods

connect()

Initialize the data source connection

public connect() : void
Tags
throws
ConnectionException

getConnectionInfo()

Get connection status and details

public getConnectionInfo() : array<string|int, mixed>
Return values
array<string|int, mixed>

isConnected()

Check if connection is active

public isConnected() : bool
Return values
bool

        
On this page

Search results