File path: dist/twist/Core/Utilities/Asset.utility.php
Namespace: Twist\Core\Utilities
Extends: Base
getByGroup
— Get all assets that of a asset group by Asset Group ID, this will also expand the asset to include a sub array of its type and group information
Name | Description |
---|---|
$intGroupID | n/a |
[$strOrderBy = 'added'] | n/a |
[$strOrderDirection = 'DESC'] | n/a |
void — No return information has been documented for this function.
<?php
//Set the variables for the example
$intGroupID = 124;
$strOrderBy = 'added';
$strOrderDirection = 'DESC';
//Call the function getByGroup with the example vars
Twist::Asset() -> getByGroup($intGroupID, $strOrderBy, $strOrderDirection);