DataProviderInterface
in
Describes Data Provider interface.
Table of Contents
Methods
- dataProvider() : string
- Retrieve value from data provider.
- option() : mixed
- Retrieve one of value from array element.
Methods
dataProvider()
Retrieve value from data provider.
public
dataProvider(string $Nama[, int $Size = 1 ]) : string
Parameters
- $Nama : string
-
The build-in data provider name.
- $Size : int = 1
-
The size of data to return.
Return values
stringoption()
Retrieve one of value from array element.
public
option([array<string|int, mixed> $Data = [] ]) : mixed
Parameters
- $Data : array<string|int, mixed> = []
-
The options.