Toggle navigation
Hot Examples
JP
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
検索
Home
Camspiers
StatisticalClassifier
DataSource
PDOQuery
PHP Class Camspiers\StatisticalClassifier\DataSource\PDOQuery
Author:
Cam Spiers (
[email protected]
)
Inheritance:
extends
DataArray
ファイルを表示
Open project: camspiers/statistical-classifier
Public Methods
Method
Description
__construct
(
string
$category
,
PDO
$pdo
,
string
$query
,
string
$documentColumn
)
Creates the data source with the query details
read
( )
Method Details
__construct()
public
method
Creates the data source with the query details
public
__construct
(
string
$category
,
PDO
$pdo
,
string
$query
,
string
$documentColumn
)
$category
string
Category of the query
$pdo
PDO
The PDO connection object
$query
string
The query to run
$documentColumn
string
The column of the document
read()
public
method
public
read
( )