TwistPHP Documentation

getTypeBySlug

File path: dist/twist/Core/Helpers/Asset.helper.php
Namespace: Twist\Core\Helpers
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);