Свойство | Тип | Описание | |
---|---|---|---|
$data | Elgg\Likes\DataService |
Метод | Описание | |
---|---|---|
__construct ( Elgg\Likes\DataService $data ) | ||
preloadForList ( array $items ) : void |
Метод | Описание | |
---|---|---|
getEntities ( array $guids ) : ElggEntity[] | Get entities in any order checking cache first | |
getGuidsToPreload ( array $items ) : int[] | ||
preloadCountsFromHook ( array $entities ) : int[] | ||
preloadCountsFromQuery ( array $guids ) | ||
preloadCurrentUserLikes ( array $guids ) |
public __construct ( Elgg\Likes\DataService $data ) | ||
$data | Elgg\Likes\DataService |
protected getEntities ( array $guids ) : ElggEntity[] | ||
$guids | array | |
Результат | ElggEntity[] |
protected getGuidsToPreload ( array $items ) : int[] | ||
$items | array | |
Результат | int[] |
protected preloadCountsFromHook ( array $entities ) : int[] | ||
$entities | array | |
Результат | int[] |
protected preloadCountsFromQuery ( array $guids ) | ||
$guids | array |
protected preloadCurrentUserLikes ( array $guids ) | ||
$guids | array |
public preloadForList ( array $items ) : void | ||
$items | array | |
Результат | void |