Property | Type | Description | |
---|---|---|---|
$conn | XpressEngine\Database\VirtualConnectionInterface | DB connection instance | |
$table | string | using DB table name |
Method | Description | |
---|---|---|
__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 |
Method | Description | |
---|---|---|
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 |
return |
protected insert ( |
||
$config | config object | |
return |
public save ( |
||
$config | config object | |
return |
protected update ( |
||
$config | config object | |
return |
protected VirtualConnectionInterface,XpressEngine\Database $conn | ||
return | XpressEngine\Database\VirtualConnectionInterface |