Свойство | Тип | Описание | |
---|---|---|---|
$conn | XpressEngine\Database\VirtualConnectionInterface | DB connection instance | |
$table | string | using DB table name |
Метод | Описание | |
---|---|---|
__construct ( XpressEngine\Database\VirtualConnectionInterface $conn ) | constructor | |
affiliate ( |
affiliated to another config | |
clearLike ( |
clear all just descendants vars | |
fetchAncestor ( string $siteKey, string $name ) : array | search ancestors getter | |
fetchDescendant ( string $siteKey, string $name ) : array | search descendants getter | |
find ( string $siteKey, string $name ) : |
search getter | |
foster ( |
Parent Changing with descendant | |
remove ( string $siteKey, string $name ) : void | remove | |
save ( |
save |
Метод | Описание | |
---|---|---|
createModel ( array $attributes ) : |
make new object | |
insert ( |
insert | |
update ( |
update |
public __construct ( XpressEngine\Database\VirtualConnectionInterface $conn ) | ||
$conn | XpressEngine\Database\VirtualConnectionInterface | DB connection instance |
protected createModel ( array $attributes ) : |
||
$attributes | array | raw data |
Результат |
protected insert ( |
||
$config | config object | |
Результат |
public save ( |
||
$config | config object | |
Результат |
protected update ( |
||
$config | config object | |
Результат |
protected VirtualConnectionInterface,XpressEngine\Database $conn | ||
Результат | XpressEngine\Database\VirtualConnectionInterface |