TwistPHP Documentation

get

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

getGet an asset by Asset ID, this will also expand the asset to include a sub array of its type and group information

Parameters

Name Type Description
$intAssetIDintegern/a

Return Values

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

Example

<?php
//Set the variables for the example
$intAssetID 124;

//Call the function get with the example vars
Twist::Asset() -> get($intAssetID);