Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on May 5, 2020. It is now read-only.
ratajs edited this page Feb 13, 2017 · 1 revision

Read

Read data from table. Syntax:
$object->read(string $table[, mixed $array[, bool $all = true]])
Object
- Object of extension.
Table
- Table name.
Array
- String of SQL condition or array, where key is column name and value is its value. When all respectively one is true, this row se vybere. Pokud není zadáno, vyberou se všechny řádky z dané of table.
All
- If it’s TRUE, row will be selected only when all conditions are true, else row will be selected when whichever condition is true.
Return value: If the row doesn’t exist, this method will return false FALSE, if is existing just one this row, this method returns object from this row like fetch method else, this method returns array with objects from all selected rows (like fetchAll method).
Clone this wiki locally
Morty Proxy This is a proxified and sanitized view of the page, visit original site.