Property | Type | Description | |
---|---|---|---|
$conn | Xpressengine\Database\VirtualConnectionInterface | Connection instance | |
$table | string | Table name |
Method | Description | |
---|---|---|
__construct ( Xpressengine\Database\VirtualConnectionInterface $conn ) | Constructor | |
affiliate ( |
affiliated to another registered | |
delete ( |
Delete register information | |
fetchAncestor ( string $siteKey, string $name ) : array | Returns ancestor of item | |
fetchDescendant ( string $siteKey, string $name ) : array | Returns descendant of item | |
findByName ( string $siteKey, string $name ) : |
Find a registered by type and name | |
foster ( |
Parent Changing with descendant | |
getNow ( ) : string | Now datetime string | |
insert ( |
Insert register information | |
update ( |
Update register information |
Method | Description | |
---|---|---|
createItem ( array $attributes ) : |
Create a new registered object instance |
public __construct ( Xpressengine\Database\VirtualConnectionInterface $conn ) | ||
$conn | Xpressengine\Database\VirtualConnectionInterface | Connection instance |
protected createItem ( array $attributes ) : |
||
$attributes | array | attributes array |
return |
public findByName ( string $siteKey, string $name ) : |
||
$siteKey | string | site key |
$name | string | target name |
return |
public insert ( |
||
$item | permission instance | |
return |
public update ( |
||
$item | permission instance | |
return |
protected VirtualConnectionInterface,Xpressengine\Database $conn | ||
return | Xpressengine\Database\VirtualConnectionInterface |