TwistPHP Documentation

editGroup

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

editGroupUpdate a asset group, change the group description and slug without affecting the assets contained within the group.

Parameters

Name Type Description
$intGroupIDintegern/a
$strDescriptionstringn/a
$strSlugstringn/a

Return Values

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

Example

<?php
//Set the variables for the example
$intGroupID 124;
$strDescription 'foo';
$strSlug 'foo';

//Call the function editGroup with the example vars
Twist::Asset() -> editGroup($intGroupID$strDescription$strSlug);