Свойство | Тип | Описание | |
---|---|---|---|
$keygen | Keygen instance | ||
$model | string | Model class |
Метод | Описание | |
---|---|---|
__construct ( |
EloquentRepository constructor. | |
all ( string $siteKey, array $with = [] ) : |
Get all menu | |
createItemModel ( |
Create new menu item model | |
createModel ( ) : |
Create new menu model | |
delete ( |
Delete menu | |
deleteItem ( |
Delete menu item | |
fetchInItem ( array $ids, array $with = [] ) : |
Get menu items by identifier list | |
find ( string $id, array $with = [] ) : |
Find menu | |
findItem ( string $id, array $with = [] ) : |
Find a menu item | |
getModel ( ) : string | Get menu model | |
insert ( |
Insert menu | |
insertItem ( |
Insert menu item | |
setModel ( string $model ) : void | Set menu model | |
update ( |
Update menu | |
updateItem ( |
Update menu item |
Метод | Описание | |
---|---|---|
generateNewId ( ) : string | Generate new key |
public __construct ( |
||
$keygen | Keygen instance |
public createItemModel ( |
||
$menu | menu instance | |
Результат |
public createModel ( ) : |
||
Результат |
public deleteItem ( |
||
$item | menu item instance | |
Результат | boolean |
public fetchInItem ( array $ids, array $with = [] ) : |
||
$ids | array | menu item identifier |
$with | array | relation |
Результат |
protected generateNewId ( ) : string | ||
Результат | string |
public insert ( |
||
$menu | menu instance | |
Результат |
public insertItem ( |
||
$item | menu item instance | |
Результат |
public update ( |
||
$menu | menu instance | |
Результат |
public updateItem ( |
||
$item | menu item instance | |
Результат |
protected Keygen,Xpressengine\Keygen $keygen | ||
Результат |