TwistPHP Documentation

addGroup

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

addGroupAdd a new group to the asset groups table, the asset groups will allow you slit/categorise your assets into manageable groups.

Parameters

Name Type Description
$strDescriptionstringn/a
$srtSlugn/a

Return Values

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

Example

<?php
//Set the variables for the example
$strDescription 'foo';
$srtSlug = ;

//Call the function addGroup with the example vars
Twist::Asset() -> addGroup($strDescription$srtSlug);