TwistPHP Documentation

edit

File path: dist/twist/Core/Helpers/Asset.helper.php
Namespace: Twist\Core\Helpers
Extends: Base

editEdit the title and description of an asset by its asset ID

Parameters

Name Type Description
$intAssetIDintegern/a
$strTitlestringn/a
[$strDescription = '']stringn/a

Return Values

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

Example

<?php
//Set the variables for the example
$intAssetID 124;
$strTitle 'foo';
$strDescription '';

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