TwistPHP Documentation

getAll

File path: dist/twist/Core/Utilities/Asset.utility.php
Namespace: Twist\Core\Utilities
Extends: Base

getAllGet all the assets in the asset system, this will also expand the asset to include a sub array of its type and group information

Parameters

Name Type Description
[$strOrderBy = 'added']stringn/a
[$strOrderDirection = 'DESC']stringn/a

Return Values

void — No return information has been documented for this function.

Example

<?php
//Set the variables for the example
$strOrderBy 'added';
$strOrderDirection 'DESC';

//Call the function getAll with the example vars
Twist::Asset() -> getAll($strOrderBy$strOrderDirection);