File path: dist/twist/Core/Utilities/Asset.utility.php
Namespace: Twist\Core\Utilities
Extends: Base
import
— Import an asset into the system (utilises 'add' to store the asset once uploaded), the asset type will be detected automatically. An asset group must be provided.
Name | Description |
---|---|
$mxdFile | n/a |
$intGroupID | n/a |
[$strTitle = ''] | n/a |
[$strDescription = ''] | n/a |
[$blActive = true] | n/a |
void — No return information has been documented for this function.
<?php
//Set the variables for the example
$mxdFile = 'foo-123';
$intGroupID = 124;
$strTitle = '';
$strDescription = '';
$blActive = true;
//Call the function import with the example vars
Twist::Asset() -> import($mxdFile, $intGroupID, $strTitle, $strDescription, $blActive);