TwistPHP Documentation

getTypeBySlug

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

getTypeBySlugGet an array of asset type information by its asset type slug

Parameters

Name Type Description
$strTypeSlugstringn/a

Return Values

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

Example

<?php
//Set the variables for the example
$strTypeSlug 'foo';

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