File path: dist/twist/Core/Utilities/Asset.utility.php
Namespace: Twist\Core\Utilities
Extends: Base
active
— Set the status of an asset between active/inactive by passing a boolean of either true or false in the second parameter.
Name | Description |
---|---|
$intAssetID | n/a |
[$blActive = true] | n/a |
void — No return information has been documented for this function.
<?php
//Set the variables for the example
$intAssetID = 124;
$blActive = true;
//Call the function active with the example vars
Twist::Asset() -> active($intAssetID, $blActive);