Property | Type | Description | |
---|---|---|---|
$data | |||
$filePath | |||
$lastInsertId | |||
$tables |
Method | Description | |
---|---|---|
__construct ( string $filePath = null ) | PhpArrayFileTable constructor. | |
delete ( string | integer $id ) | ||
fetchAll ( null $filter = null, null $order = null ) : array | ||
get ( $filePath ) : self | ||
getById ( string | integer $id ) : array | null | ||
getLastInsertId ( ) : integer | ||
getNextId ( ) : integer | ||
insertOrUpdate ( $data, string | integer $id = null ) | ||
setFilePath ( $filePath ) | ||
truncate ( ) |
Method | Description | |
---|---|---|
load ( ) | ||
save ( ) |
public __construct ( string $filePath = null ) | ||
$filePath | string |
public insertOrUpdate ( $data, string | integer $id = null ) | ||
$data | ||
$id | string | integer |