PHP Class phprs\ezsql\impls\Response

Exibir arquivo Open project: caoym/phprs-restful

Public Properties

Property Type Description
$pdo PDO
$rows integer the number of rows.
$st PDOStatement
$success boolean true on success or false on failure.

Public Methods

Method Description
__construct ( $success, $pdo, $st )
lastInsertId ( $name = null )

Method Details

__construct() public method

public __construct ( $success, $pdo, $st )

lastInsertId() public method

public lastInsertId ( $name = null )

Property Details

$pdo public_oe property

public PDO $pdo
return PDO

$rows public_oe property

the number of rows.
public int $rows
return integer

$st public_oe property

public PDOStatement $st
return PDOStatement

$success public_oe property

true on success or false on failure.
public bool $success
return boolean